about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylru
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2018-02-25 20:26:54 +0300
committerNikolay Amiantov <ab@fmap.me>2018-02-25 22:24:10 +0300
commit67487427e9b038c6a2c91411318223ea4a0eeeb1 (patch)
treeea047272478639a4b98653826f5dbcf96bf00db6 /pkgs/development/python-modules/pylru
parent1f9a7ec651acb6bf22e97fcb0e84962dcecf7437 (diff)
python.pkgs.pylru: move to a separate file
Diffstat (limited to 'pkgs/development/python-modules/pylru')
-rw-r--r--pkgs/development/python-modules/pylru/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pylru/default.nix b/pkgs/development/python-modules/pylru/default.nix
new file mode 100644
index 0000000000000..db8584c4f9e54
--- /dev/null
+++ b/pkgs/development/python-modules/pylru/default.nix
@@ -0,0 +1,18 @@
+{ lib, buildPythonPackage, fetchurl }:
+
+buildPythonPackage rec {
+  name = "pylru-${version}";
+  version = "1.0.9";
+
+  src = fetchurl {
+    url = "mirror://pypi/p/pylru/${name}.tar.gz";
+    sha256 = "0b0pq0l7xv83dfsajsc49jcxzc99kb9jfx1a1dlx22hzcy962dvi";
+  };
+
+  meta = with lib; {
+    homepage = https://github.com/jlhutch/pylru;
+    description = "A least recently used (LRU) cache implementation";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ abbradar ];
+  };
+}