Merge pull request #62525 from r-ryantm/auto-update/python3.7-fasteners
python37Packages.fasteners: 0.14.1 -> 0.15
This commit is contained in:
commit
e8f468c994
@ -4,30 +4,30 @@
|
|||||||
, six
|
, six
|
||||||
, monotonic
|
, monotonic
|
||||||
, testtools
|
, testtools
|
||||||
, python
|
|
||||||
, isPy3k
|
, isPy3k
|
||||||
|
, nose
|
||||||
|
, futures
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fasteners";
|
pname = "fasteners";
|
||||||
version = "0.14.1";
|
version = "0.15";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "063y20kx01ihbz2mziapmjxi2cd0dq48jzg587xdsdp07xvpcz22";
|
sha256 = "3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six monotonic testtools ];
|
propagatedBuildInputs = [ six monotonic ];
|
||||||
|
|
||||||
|
checkInputs = [ testtools nose ] ++ stdenv.lib.optionals (!isPy3k) [ futures ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -m unittest discover
|
nosetests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Tests are written for Python 3.x only (concurrent.futures)
|
|
||||||
doCheck = isPy3k;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Fasteners";
|
description = "A python package that provides useful locks";
|
||||||
homepage = https://github.com/harlowja/fasteners;
|
homepage = https://github.com/harlowja/fasteners;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user