about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fastcache/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/fastcache/default.nix')
-rw-r--r--pkgs/development/python-modules/fastcache/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fastcache/default.nix b/pkgs/development/python-modules/fastcache/default.nix
new file mode 100644
index 000000000000..5638e8412b56
--- /dev/null
+++ b/pkgs/development/python-modules/fastcache/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildPythonPackage, fetchPypi, pytest }:
+
+buildPythonPackage rec {
+  pname = "fastcache";
+  version = "1.0.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1rl489zfbm2x67n7i6r7r4nhrhwk6yz3yc7x9y2rky8p95vhaw46";
+  };
+
+  checkInputs = [ pytest ];
+
+  meta = with lib; {
+    description = "C implementation of Python3 lru_cache for Python 2 and 3";
+    homepage = https://github.com/pbrady/fastcache;
+    license = licenses.mit;
+    maintainers = [ maintainers.bhipple ];
+  };
+}