lol

python.pkgs.pylru: move to a separate file

+19 -17
+18
pkgs/development/python-modules/pylru/default.nix
··· 1 + { lib, buildPythonPackage, fetchurl }: 2 + 3 + buildPythonPackage rec { 4 + name = "pylru-${version}"; 5 + version = "1.0.9"; 6 + 7 + src = fetchurl { 8 + url = "mirror://pypi/p/pylru/${name}.tar.gz"; 9 + sha256 = "0b0pq0l7xv83dfsajsc49jcxzc99kb9jfx1a1dlx22hzcy962dvi"; 10 + }; 11 + 12 + meta = with lib; { 13 + homepage = https://github.com/jlhutch/pylru; 14 + description = "A least recently used (LRU) cache implementation"; 15 + license = licenses.gpl2; 16 + maintainers = with maintainers; [ abbradar ]; 17 + }; 18 + }
+1 -17
pkgs/top-level/python-packages.nix
··· 9255 9255 9256 9256 pylast = callPackage ../development/python-modules/pylast/default.nix { }; 9257 9257 9258 - pylru = buildPythonPackage rec { 9259 - name = "pylru-${version}"; 9260 - version = "1.0.9"; 9261 - 9262 - src = pkgs.fetchurl { 9263 - url = "mirror://pypi/p/pylru/${name}.tar.gz"; 9264 - sha256 = "0b0pq0l7xv83dfsajsc49jcxzc99kb9jfx1a1dlx22hzcy962dvi"; 9265 - }; 9266 - 9267 - meta = { 9268 - homepage = "https://github.com/jlhutch/pylru"; 9269 - description = "A least recently used (LRU) cache implementation"; 9270 - license = licenses.gpl2; 9271 - platforms = platforms.all; 9272 - maintainers = with maintainers; [ abbradar ]; 9273 - }; 9274 - }; 9258 + pylru = callPackage ../development/python-modules/pylru/default.nix { }; 9275 9259 9276 9260 lark-parser = callPackage ../development/python-modules/lark-parser { }; 9277 9261