summary refs log tree commit diff
path: root/pkgs/development/python-modules/stringtemplate
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-03-09 10:46:42 +0000
committerPeter Simons <simons@cryp.to>2009-03-09 10:46:42 +0000
commitf8c360148e582baa6d30413c8f0d3434330f9377 (patch)
treeda83404be158b5e206733e8b7d7e45f8757c4f71 /pkgs/development/python-modules/stringtemplate
parent8e2956c4cb28d21cbeed8b56464558a2c8b445c9 (diff)
downloadnixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.tar
nixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.tar.gz
nixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.tar.bz2
nixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.tar.lz
nixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.tar.xz
nixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.tar.zst
nixpkgs-f8c360148e582baa6d30413c8f0d3434330f9377.zip
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.nix17
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 00000000000..650edc7dab5
--- /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";
+}