ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / backports_functools_lru_cache / default.nix
blob680d23782f56657b77c0f02ba4cf614332046762
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 , isPy3k
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "backports.functools_lru_cache";
11   version = "1.6.4";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271";
16   };
18   nativeBuildInputs = [ setuptools-scm ];
20   checkInputs = [ pytestCheckHook ];
22   # Test fail on Python 2
23   doCheck = isPy3k;
25   pythonNamespaces = [ "backports" ];
27   meta = {
28     description = "Backport of functools.lru_cache";
29     homepage = "https://github.com/jaraco/backports.functools_lru_cache";
30     license = lib.licenses.mit;
31   };