lol

python.pkgs.cheetah: move and update expression

+34 -17
+33
pkgs/development/python-modules/cheetah/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , markdown 5 + , isPy3k 6 + , TurboCheetah 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "cheetah"; 11 + version = "2.4.4"; 12 + 13 + disabled = isPy3k; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550"; 18 + }; 19 + 20 + propagatedBuildInputs = [ markdown ]; 21 + 22 + doCheck = false; # Circular dependency 23 + 24 + checkInputs = [ 25 + TurboCheetah 26 + ]; 27 + 28 + meta = { 29 + homepage = http://www.cheetahtemplate.org/; 30 + description = "A template engine and code generation tool"; 31 + license = lib.licenses.mit; 32 + }; 33 + }
+1 -17
pkgs/top-level/python-packages.nix
··· 2446 2446 2447 2447 characteristic = callPackage ../development/python-modules/characteristic { }; 2448 2448 2449 - cheetah = buildPythonPackage rec { 2450 - version = "2.4.4"; 2451 - name = "cheetah-${version}"; 2452 - disabled = isPy3k; 2453 - 2454 - src = pkgs.fetchurl { 2455 - url = "mirror://pypi/C/Cheetah/Cheetah-${version}.tar.gz"; 2456 - sha256 = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550"; 2457 - }; 2458 - 2459 - propagatedBuildInputs = with self; [ self.markdown ]; 2460 - 2461 - meta = { 2462 - homepage = http://www.cheetahtemplate.org/; 2463 - description = "A template engine and code generation tool"; 2464 - }; 2465 - }; 2449 + cheetah = callPackage ../development/python-modules/cheetah { }; 2466 2450 2467 2451 cherrypy = callPackage ../development/python-modules/cherrypy {}; 2468 2452