My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/backports_functools_lru_cache/default.nix

32 lines
655 B

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, isPy3k
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "backports.functools_lru_cache";
version = "1.6.4";
src = fetchPypi {
inherit pname version;
sha256 = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271";
};
nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytestCheckHook ];
# Test fail on Python 2
doCheck = isPy3k;
pythonNamespaces = [ "backports" ];
meta = {
description = "Backport of functools.lru_cache";
homepage = "https://github.com/jaraco/backports.functools_lru_cache";
license = lib.licenses.mit;
};
}