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

View File

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

View File

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