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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user