diff options
author | Peter Simons | 2008-11-05 20:03:00 +0000 |
---|---|---|
committer | Peter Simons | 2008-11-05 20:03:00 +0000 |
commit | 52e1bb158ce1e8570f7929855152e95e530489c0 (patch) | |
tree | 10de83f2de111f8cd941097423ceef1e9789e116 /pkgs/tools/text | |
parent | 2bf82b4470371d47b68c97c8b23bc576c4004ac9 (diff) |
Added python's implementation for the www.stringtemplate.org language.
svn path=/nixpkgs/trunk/; revision=13199
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/py-string-template/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/text/py-string-template/default.nix b/pkgs/tools/text/py-string-template/default.nix new file mode 100644 index 000000000000..0ca503a16ac4 --- /dev/null +++ b/pkgs/tools/text/py-string-template/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/PyStringTemplate-3.2b1.tar.gz"; + sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml"; + }; + propagatedBuildInputs = [python]; + buildPhase = "true"; + installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1"; +} |