summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-09-13 18:29:34 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-09-13 21:44:49 +0200
commit678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1 (patch)
treee0aa8d8b9121bbebe4a4fd987de496413570350e /pkgs
parent65b91cd23b6ec91cb16f156c58c62bda8171368a (diff)
downloadnixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.tar
nixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.tar.gz
nixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.tar.bz2
nixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.tar.lz
nixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.tar.xz
nixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.tar.zst
nixlib-678c149e530c4d52dc9a6549cfc3f6d3ecc2ebc1.zip
buku: 3.0 -> 3.3.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/buku/default.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix
index 321e12877ebc..a0955dcecedd 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.0"; # When updating to 3.1, make sure to remove the marked line in preCheck
+  version = "3.3.1";
   name = "buku-${version}";
 
   src = fetchFromGitHub {
     owner = "jarun";
     repo = "buku";
     rev = "v${version}";
-    sha256 = "1a33x3197vi5s8rq5fvhy021jdlsc8ww8zc4kysss6r9mvdlk7ax";
+    sha256 = "1byq8jgv1rb67ygibk0vzgz5ri1il4q4hpg23z5q0ml27fif9hw3";
   };
 
   nativeBuildInputs = [
@@ -16,6 +16,8 @@ with python3.pkgs; buildPythonApplication rec {
     pytest-catchlog
     hypothesis
     pytest
+    pylint
+    flake8
   ];
 
   propagatedBuildInputs = [
@@ -29,11 +31,6 @@ with python3.pkgs; buildPythonApplication rec {
     # Fixes two tests for wrong encoding
     export PYTHONIOENCODING=utf-8
 
-    ### Remove this for 3.1 ###
-    # See https://github.com/jarun/Buku/pull/167 (merged)
-    substituteInPlace setup.py \
-      --replace "hypothesis==3.7.0" "hypothesis>=3.7.0"
-
     # Disables a test which requires internet
     substituteInPlace tests/test_bukuDb.py \
       --replace "@pytest.mark.slowtest" "@unittest.skip('skipping')"