python.pkgs.cheetah: move and update expression
This commit is contained in:
parent
587556ce1d
commit
e60a1fd433
33
pkgs/development/python-modules/cheetah/default.nix
Normal file
33
pkgs/development/python-modules/cheetah/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, markdown
|
||||||
|
, isPy3k
|
||||||
|
, TurboCheetah
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cheetah";
|
||||||
|
version = "2.4.4";
|
||||||
|
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ markdown ];
|
||||||
|
|
||||||
|
doCheck = false; # Circular dependency
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
TurboCheetah
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.cheetahtemplate.org/;
|
||||||
|
description = "A template engine and code generation tool";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -2446,23 +2446,7 @@ in {
|
|||||||
|
|
||||||
characteristic = callPackage ../development/python-modules/characteristic { };
|
characteristic = callPackage ../development/python-modules/characteristic { };
|
||||||
|
|
||||||
cheetah = buildPythonPackage rec {
|
cheetah = callPackage ../development/python-modules/cheetah { };
|
||||||
version = "2.4.4";
|
|
||||||
name = "cheetah-${version}";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/C/Cheetah/Cheetah-${version}.tar.gz";
|
|
||||||
sha256 = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ self.markdown ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://www.cheetahtemplate.org/;
|
|
||||||
description = "A template engine and code generation tool";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cherrypy = callPackage ../development/python-modules/cherrypy {};
|
cherrypy = callPackage ../development/python-modules/cherrypy {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user