about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fasteners
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2019-06-02 10:17:18 -0700
committerMario Rodas <marsam@users.noreply.github.com>2019-06-04 05:02:13 -0500
commit79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0 (patch)
tree7f308be7675413df818ec76a5b7d9ce4ce7d9b19 /pkgs/development/python-modules/fasteners
parent436e2b6d7fd6dec5a89edc7dfb3a1bb0e864c547 (diff)
downloadnixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.tar
nixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.tar.gz
nixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.tar.bz2
nixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.tar.lz
nixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.tar.xz
nixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.tar.zst
nixlib-79627f2ba906e6f2c43bdb8b010d8b7b4ddac9d0.zip
python37Packages.fasteners: 0.14.1 -> 0.15
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-fasteners/versions
Diffstat (limited to 'pkgs/development/python-modules/fasteners')
-rw-r--r--pkgs/development/python-modules/fasteners/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/fasteners/default.nix b/pkgs/development/python-modules/fasteners/default.nix
index 77a6f9b04088..50a6dbf40df6 100644
--- a/pkgs/development/python-modules/fasteners/default.nix
+++ b/pkgs/development/python-modules/fasteners/default.nix
@@ -4,30 +4,30 @@
 , six
 , monotonic
 , testtools
-, python
 , isPy3k
+, nose
+, futures
 }:
 
 buildPythonPackage rec {
   pname = "fasteners";
-  version = "0.14.1";
+  version = "0.15";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "063y20kx01ihbz2mziapmjxi2cd0dq48jzg587xdsdp07xvpcz22";
+    sha256 = "3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef";
   };
 
-  propagatedBuildInputs = [ six monotonic testtools ];
+  propagatedBuildInputs = [ six monotonic ];
+
+  checkInputs = [ testtools nose ] ++ stdenv.lib.optionals (!isPy3k) [ futures ];
 
   checkPhase = ''
-    ${python.interpreter} -m unittest discover
+    nosetests
   '';
 
-  # Tests are written for Python 3.x only (concurrent.futures)
-  doCheck = isPy3k;
-
   meta = with stdenv.lib; {
-    description = "Fasteners";
+    description = "A python package that provides useful locks";
     homepage = https://github.com/harlowja/fasteners;
     license = licenses.asl20;
   };