ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / backports_weakref / default.nix
bloba0cbe6d4b8434ecf0b502c83415fa9b39c478c5a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 # , backports
6 , unittestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "backports.weakref";
11   version = "1.0.post1";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2";
15   };
17   buildInputs = [ setuptools-scm ];
18 #   checkInputs = [ backports ];
20   # Requires backports package
21   doCheck = false;
23   checkInputs = [ unittestCheckHook ];
25   unittestFlagsArray = [ "tests" ];
27   meta = with lib; {
28     description = "Backports of new features in Python’s weakref module";
29     license = licenses.psfl;
30     maintainers = with maintainers; [ jyp ];
31   };