about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-04-23 10:37:44 +0200
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-04-23 10:44:54 +0200
commitbdf070fe2a8eb8c8e5a8a6b71250450f42678168 (patch)
tree90df79cb3b4b0c834870f92fa99aa2310a71ce84 /pkgs/development/python-modules
parentcba32c8a755f615aa3f6ad554e5bca98d87b108e (diff)
downloadnixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.tar
nixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.tar.gz
nixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.tar.bz2
nixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.tar.lz
nixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.tar.xz
nixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.tar.zst
nixlib-bdf070fe2a8eb8c8e5a8a6b71250450f42678168.zip
python.pkgs.kaptan: 0.5.11 -> 0.5.12
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/kaptan/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/kaptan/default.nix b/pkgs/development/python-modules/kaptan/default.nix
index aada19dd45b2..5a6cf80a8352 100644
--- a/pkgs/development/python-modules/kaptan/default.nix
+++ b/pkgs/development/python-modules/kaptan/default.nix
@@ -2,27 +2,25 @@
 , buildPythonPackage
 , fetchPypi
 , pyyaml
+, pytest
 }:
 
 buildPythonPackage rec {
   pname = "kaptan";
-  version = "0.5.11";
+  version = "0.5.12";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "8403d6e48200c3f49cb6d6b3dcb5898aa5ab9d820831655bf9a2403e00cd4207";
+    sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2";
   };
 
-  # https://github.com/emre/kaptan/pull/151
   postPatch = ''
-    substituteInPlace requirements/base.txt \
-      --replace "PyYAML>=3.13,<4" "PyYAML>=3.13"
+    sed -i "s/==.*//g" requirements/test.txt
   '';
 
   propagatedBuildInputs = [ pyyaml ];
 
-  # No tests in archive
-  doCheck = false;
+  checkInputs = [ pytest ];
 
   meta = with stdenv.lib; {
     description = "Configuration manager for python applications";