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
This commit is contained in:
Peter Simons
2009-03-10 12:01:22 +00:00
parent 68e6471a70
commit 610aac30c3
4 changed files with 9 additions and 31 deletions

View File

@@ -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";
}