diff options
author | Nikolay Amiantov <ab@fmap.me> | 2018-02-25 20:26:54 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2018-02-25 22:24:10 +0300 |
commit | 67487427e9b038c6a2c91411318223ea4a0eeeb1 (patch) | |
tree | ea047272478639a4b98653826f5dbcf96bf00db6 /pkgs/development/python-modules/pylru | |
parent | 1f9a7ec651acb6bf22e97fcb0e84962dcecf7437 (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.nix | 18 |
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 ]; + }; +} |