Merge pull request #62525 from r-ryantm/auto-update/python3.7-fasteners

python37Packages.fasteners: 0.14.1 -> 0.15
This commit is contained in:
Mario Rodas 2019-06-04 05:25:30 -05:00 committed by GitHub
commit e8f468c994
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
};