pythonPackages.repoze_lru: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 12:59:27 -04:00 committed by Frederik Rietdijk
parent e49ffc0434
commit 162db7094f
2 changed files with 23 additions and 13 deletions

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "repoze.lru";
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "0f7a323bf716d3cb6cb3910cd4fccbee0b3d3793322738566ecce163b01bbd31";
};
meta = with stdenv.lib; {
description = "A tiny LRU cache implementation and decorator";
homepage = http://www.repoze.org/;
license = licenses.bsd0;
maintainers = with maintainers; [ garbas domenkozar ];
};
}

@ -2187,19 +2187,7 @@ in {
ratelimiter = callPackage ../development/python-modules/ratelimiter { };
repoze_lru = buildPythonPackage rec {
name = "repoze.lru-0.6";
src = pkgs.fetchurl {
url = "mirror://pypi/r/repoze.lru/${name}.tar.gz";
sha256 = "0f7a323bf716d3cb6cb3910cd4fccbee0b3d3793322738566ecce163b01bbd31";
};
meta = {
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.all;
};
};
repoze_lru = callPackage ../development/python-modules/repoze_lru { };
repoze_sphinx_autointerface = buildPythonPackage rec {
name = "repoze.sphinx.autointerface-0.7.1";