forked from mirrors/nixpkgs
pystringtemplate -> pythonPackages.pystringtemplate
and use buildPythonPackage
This commit is contained in:
parent
f5cddb610d
commit
941ee1ba6e
|
@ -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/";
|
||||
|
|
|
@ -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 { };
|
||||
|
|
|
@ -17969,6 +17969,8 @@ in modules // {
|
|||
};
|
||||
};
|
||||
|
||||
pystringtemplate = callPackage ../development/python-modules/stringtemplate { };
|
||||
|
||||
pillow = buildPythonPackage rec {
|
||||
name = "Pillow-3.3.1";
|
||||
|
||||
|
|
Loading…
Reference in a new issue