diff options
author | Peter Simons <simons@cryp.to> | 2009-03-09 10:46:42 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2009-03-09 10:46:42 +0000 |
commit | f8c360148e582baa6d30413c8f0d3434330f9377 (patch) | |
tree | da83404be158b5e206733e8b7d7e45f8757c4f71 /pkgs/development/python-modules/stringtemplate | |
parent | 8e2956c4cb28d21cbeed8b56464558a2c8b445c9 (diff) |
Moved python stringtemplate library from tools/text/py-string-template
to development/python-modules/stringtemplate.
svn path=/nixpkgs/trunk/; revision=14455
Diffstat (limited to 'pkgs/development/python-modules/stringtemplate')
-rw-r--r-- | pkgs/development/python-modules/stringtemplate/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/stringtemplate/default.nix b/pkgs/development/python-modules/stringtemplate/default.nix new file mode 100644 index 000000000000..650edc7dab51 --- /dev/null +++ b/pkgs/development/python-modules/stringtemplate/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, python}: + +stdenv.mkDerivation rec { + name = "PyStringTemplate-${version}"; + version = "3.2b1"; + meta = { + homepage = "http://www.stringtemplate.org/"; + description = "Text Templating Library"; + }; + src = fetchurl { + url = "http://www.stringtemplate.org/download/${name}.tar.gz"; + sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml"; + }; + propagatedBuildInputs = [python]; + buildPhase = "true"; + installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1"; +} |