3
0
Fork 0
forked from mirrors/nixpkgs

pystringtemplate -> pythonPackages.pystringtemplate

and use buildPythonPackage
This commit is contained in:
Frederik Rietdijk 2016-09-25 22:36:30 +02:00
parent f5cddb610d
commit 941ee1ba6e
3 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
{stdenv, fetchurl, python, antlr}:
{stdenv, fetchurl, buildPythonPackage, antlr, isPy3k}:
stdenv.mkDerivation rec {
buildPythonPackage rec {
name = "PyStringTemplate-${version}";
version = "3.2b1";
@ -9,13 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml";
};
propagatedBuildInputs = [python antlr];
propagatedBuildInputs = [ antlr ];
dontBuild = true;
disabled = isPy3k;
installPhase = ''
python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1
'';
# No tests included in archive
doCheck = false;
meta = {
homepage = "http://www.stringtemplate.org/";

View file

@ -3274,8 +3274,6 @@ in
pygmentex = callPackage ../tools/typesetting/pygmentex { };
pystringtemplate = callPackage ../development/python-modules/stringtemplate { };
pythonIRClib = pythonPackages.pythonIRClib;
pythonSexy = callPackage ../development/python-modules/libsexy { };

View file

@ -17969,6 +17969,8 @@ in modules // {
};
};
pystringtemplate = callPackage ../development/python-modules/stringtemplate { };
pillow = buildPythonPackage rec {
name = "Pillow-3.3.1";