diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-02 22:41:58 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-14 00:28:52 +0100 |
commit | 06e320562bbc1fe90ab9ac17058e01fc51c9df9b (patch) | |
tree | 3658f87e563fc6fdd8302f4e7a4c14c81c56a406 /pkgs/development/python-modules/fasteners | |
parent | 8ed0cf2b0c0a5e56f325a3d4ad95642c89c8c406 (diff) |
python3Packages.fasteners: 0.16.3 -> 0.17.3
Diffstat (limited to 'pkgs/development/python-modules/fasteners')
-rw-r--r-- | pkgs/development/python-modules/fasteners/default.nix | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/fasteners/default.nix b/pkgs/development/python-modules/fasteners/default.nix index 0364022fa2864..b1281c686d87d 100644 --- a/pkgs/development/python-modules/fasteners/default.nix +++ b/pkgs/development/python-modules/fasteners/default.nix @@ -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; [ ]; }; } |