pythonPackages.backports_functools_lru_cache: init at 1.3

This commit is contained in:
Frederik Rietdijk 2016-10-17 13:23:45 +02:00
parent 1c4377034a
commit cc1fe56e72

View File

@ -1743,6 +1743,25 @@ in {
}; };
}; };
backports_functools_lru_cache = buildPythonPackage rec {
name = "backports.functools_lru_cache-${version}";
version = "1.3";
src = pkgs.fetchurl {
url = "mirror://pypi/b/backports_functools_lru_cache/${name}.tar.gz";
sha256 = "444a21bcec4ae177da554321f81a78dc879eaa8f6ea9920cb904830585d31e95";
};
buildInputs = with self; [ setuptools_scm ];
doCheck = false; # No proper test
meta = {
description = "Backport of functools.lru_cache";
homepage = https://github.com/jaraco/backports.functools_lru_cache;
license = licenses.mit;
};
};
backports_shutil_get_terminal_size = if !(pythonOlder "3.3") then null else buildPythonPackage rec { backports_shutil_get_terminal_size = if !(pythonOlder "3.3") then null else buildPythonPackage rec {
name = "backports.shutil_get_terminal_size-${version}"; name = "backports.shutil_get_terminal_size-${version}";
version = "1.0.0"; version = "1.0.0";