summary refs log tree commit diff
path: root/pkgs/development/python-modules/stringtemplate/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-03-10 12:01:22 +0000
committerPeter Simons <simons@cryp.to>2009-03-10 12:01:22 +0000
commit610aac30c39d7bbf0caf41e46d75e8842542facd (patch)
tree93a3402e65dc7463d75a013737d21e1520d228e3 /pkgs/development/python-modules/stringtemplate/default.nix
parent68e6471a70f60ac68145a3da0d9aab83f087813b (diff)
downloadnixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.tar
nixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.tar.gz
nixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.tar.bz2
nixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.tar.lz
nixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.tar.xz
nixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.tar.zst
nixpkgs-610aac30c39d7bbf0caf41e46d75e8842542facd.zip
Fixed Python StringTemplate library.
Most importantly, this change required updating the ANTLR 2.x expression to
install the Python run-time library. While we're at it, we're building the
run-time library for C++ and Java, too. There is still work to be done: the
stringtemplate library doesn't find antlr.py without help yet.

svn path=/nixpkgs/trunk/; revision=14489
Diffstat (limited to 'pkgs/development/python-modules/stringtemplate/default.nix')
-rw-r--r--pkgs/development/python-modules/stringtemplate/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/stringtemplate/default.nix b/pkgs/development/python-modules/stringtemplate/default.nix
index 650edc7dab5..f70888f102f 100644
--- a/pkgs/development/python-modules/stringtemplate/default.nix
+++ b/pkgs/development/python-modules/stringtemplate/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, python}:
+{stdenv, fetchurl, python, antlr}:
 
 stdenv.mkDerivation rec {
   name = "PyStringTemplate-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     url = "http://www.stringtemplate.org/download/${name}.tar.gz";
     sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml";
   };
-  propagatedBuildInputs = [python];
+  propagatedBuildInputs = [python antlr];
   buildPhase = "true";
   installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1";
 }