buku: 3.0 -> 3.3.1

authored by Matthias Beyer and committed by Bjørn Forsman 678c149e 65b91cd2

+4 -7
+4 -7
pkgs/applications/misc/buku/default.nix
··· 1 { stdenv, python3, fetchFromGitHub }: 2 3 with python3.pkgs; buildPythonApplication rec { 4 - version = "3.0"; # When updating to 3.1, make sure to remove the marked line in preCheck 5 name = "buku-${version}"; 6 7 src = fetchFromGitHub { 8 owner = "jarun"; 9 repo = "buku"; 10 rev = "v${version}"; 11 - sha256 = "1a33x3197vi5s8rq5fvhy021jdlsc8ww8zc4kysss6r9mvdlk7ax"; 12 }; 13 14 nativeBuildInputs = [ ··· 16 pytest-catchlog 17 hypothesis 18 pytest 19 ]; 20 21 propagatedBuildInputs = [ ··· 28 preCheck = '' 29 # Fixes two tests for wrong encoding 30 export PYTHONIOENCODING=utf-8 31 - 32 - ### Remove this for 3.1 ### 33 - # See https://github.com/jarun/Buku/pull/167 (merged) 34 - substituteInPlace setup.py \ 35 - --replace "hypothesis==3.7.0" "hypothesis>=3.7.0" 36 37 # Disables a test which requires internet 38 substituteInPlace tests/test_bukuDb.py \
··· 1 { stdenv, python3, fetchFromGitHub }: 2 3 with python3.pkgs; buildPythonApplication rec { 4 + version = "3.3.1"; 5 name = "buku-${version}"; 6 7 src = fetchFromGitHub { 8 owner = "jarun"; 9 repo = "buku"; 10 rev = "v${version}"; 11 + sha256 = "1byq8jgv1rb67ygibk0vzgz5ri1il4q4hpg23z5q0ml27fif9hw3"; 12 }; 13 14 nativeBuildInputs = [ ··· 16 pytest-catchlog 17 hypothesis 18 pytest 19 + pylint 20 + flake8 21 ]; 22 23 propagatedBuildInputs = [ ··· 30 preCheck = '' 31 # Fixes two tests for wrong encoding 32 export PYTHONIOENCODING=utf-8 33 34 # Disables a test which requires internet 35 substituteInPlace tests/test_bukuDb.py \