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.

+5 -3
+5 -3
pkgs/applications/misc/buku/default.nix
··· 1 { stdenv, python3, fetchFromGitHub }: 2 3 with python3.pkgs; buildPythonApplication rec { 4 - version = "3.4"; 5 name = "buku-${version}"; 6 7 src = fetchFromGitHub { 8 owner = "jarun"; 9 repo = "buku"; 10 rev = "v${version}"; 11 - sha256 = "0v0wvsxw78g6yl606if25k1adghr5764chwy1kl7dsxvchqwvmg0"; 12 }; 13 14 nativeBuildInputs = [ ··· 33 34 # Disables a test which requires internet 35 substituteInPlace tests/test_bukuDb.py \ 36 - --replace "@pytest.mark.slowtest" "@unittest.skip('skipping')" 37 ''; 38 39 installPhase = ''
··· 1 { stdenv, python3, fetchFromGitHub }: 2 3 with python3.pkgs; buildPythonApplication rec { 4 + version = "3.6"; 5 name = "buku-${version}"; 6 7 src = fetchFromGitHub { 8 owner = "jarun"; 9 repo = "buku"; 10 rev = "v${version}"; 11 + sha256 = "1639sf200n9rxgkvvhlhnrjsb7vn42p1fl1rx562axh3vpr6j4c4"; 12 }; 13 14 nativeBuildInputs = [ ··· 33 34 # Disables a test which requires internet 35 substituteInPlace tests/test_bukuDb.py \ 36 + --replace "@pytest.mark.slowtest" "@unittest.skip('skipping')" \ 37 + --replace "self.assertEqual(shorturl, 'http://tny.im/yt')" "" \ 38 + --replace "self.assertEqual(url, 'https://www.google.com')" "" 39 ''; 40 41 installPhase = ''