pythonPackages.fastcache: init at 1.0.2 (#45048)
commit16d475334409f7fa632929b2838421b4ffe34927
authorBenjamin Hipple <bhipple@protonmail.com>
dateWed 15 Aug 2018, 05:02 (8 years ago)
parentcc8e4a5
pkgs/development/python-modules/fastcache/default.nixnew file+20
@@ -0,0 +1,20 @@
1+{ lib, buildPythonPackage, fetchPypi, pytest }:
2+
3+buildPythonPackage rec {
4+ pname = "fastcache";
5+ version = "1.0.2";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "1rl489zfbm2x67n7i6r7r4nhrhwk6yz3yc7x9y2rky8p95vhaw46";
10+ };
11+
12+ checkInputs = [ pytest ];
13+
14+ meta = with lib; {
15+ description = "C implementation of Python3 lru_cache for Python 2 and 3";
16+ homepage = https://github.com/pbrady/fastcache;
17+ license = licenses.mit;
18+ maintainers = [ maintainers.bhipple ];
19+ };
20+}
pkgs/top-level/python-packages.nix+2
@@ -2537,6 +2537,8 @@ in {
25372537 };
25382538 };
25392539
2540+ fastcache = callPackage ../development/python-modules/fastcache { };
2541+
25402542 functools32 = if isPy3k then null else buildPythonPackage rec {
25412543 name = "functools32-${version}";
25422544 version = "3.2.3-2";