python3Packages.fasteners: 0.16.3 -> 0.17.3

This commit is contained in:
Martin Weinelt 2022-03-02 22:41:58 +01:00
parent 8ed0cf2b0c
commit 06e320562b

View file

@ -1,47 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, monotonic
, fetchFromGitHub
, diskcache
, more-itertools
, testtools
, isPy3k
, nose
, futures ? null
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "fasteners";
version = "0.16.3";
version = "0.17.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "b1ab4e5adfbc28681ce44b3024421c4f567e705cc3963c732bf1cba3348307de";
src = fetchFromGitHub {
owner = "harlowja";
repo = pname;
rev = version;
hash = "sha256-FVhHp8BZ/wQQyr5AcuDo94LlflixhjZ0SnheSdHuDVQ=";
};
propagatedBuildInputs = [
six
monotonic
];
checkInputs = [
diskcache
more-itertools
testtools
nose
] ++ lib.optionals (!isPy3k) [
futures
pytestCheckHook
];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "A python package that provides useful locks";
homepage = "https://github.com/harlowja/fasteners";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}