From a8d4d996c17d914e96a5aa7718d2db6ffade84cd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 21 Feb 2018 13:58:20 +0100 Subject: buku: 3.4 -> 3.6 Some more tests were disabled as they require internet connection. The tests were disabled by simply removing the "assertEqual" statements, as this is the simplest way to do it. --- pkgs/applications/misc/buku/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/misc/buku/default.nix') diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix index 8aa191c0f3c25..e75076e53d1c5 100644 --- a/pkgs/applications/misc/buku/default.nix +++ b/pkgs/applications/misc/buku/default.nix @@ -1,14 +1,14 @@ { stdenv, python3, fetchFromGitHub }: with python3.pkgs; buildPythonApplication rec { - version = "3.4"; + version = "3.6"; name = "buku-${version}"; src = fetchFromGitHub { owner = "jarun"; repo = "buku"; rev = "v${version}"; - sha256 = "0v0wvsxw78g6yl606if25k1adghr5764chwy1kl7dsxvchqwvmg0"; + sha256 = "1639sf200n9rxgkvvhlhnrjsb7vn42p1fl1rx562axh3vpr6j4c4"; }; nativeBuildInputs = [ @@ -33,7 +33,9 @@ with python3.pkgs; buildPythonApplication rec { # Disables a test which requires internet substituteInPlace tests/test_bukuDb.py \ - --replace "@pytest.mark.slowtest" "@unittest.skip('skipping')" + --replace "@pytest.mark.slowtest" "@unittest.skip('skipping')" \ + --replace "self.assertEqual(shorturl, 'http://tny.im/yt')" "" \ + --replace "self.assertEqual(url, 'https://www.google.com')" "" ''; installPhase = '' -- cgit 1.4.1