pythonPackages.pyamid_chameleon: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 11:08:22 -04:00 committed by Frederik Rietdijk
parent eea723b3ec
commit 8c158456d6
2 changed files with 29 additions and 20 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, chameleon
, pyramid
, zope_interface
, setuptools
}:
buildPythonPackage rec {
pname = "pyramid_chameleon";
version = "0.3";
src = fetchPypi {
inherit pname version;
sha256 = "d176792a50eb015d7865b44bd9b24a7bd0489fa9a5cebbd17b9e05048cef9017";
};
propagatedBuildInputs = [ chameleon pyramid zope_interface setuptools ];
meta = with stdenv.lib; {
description = "Chameleon template compiler for pyramid";
homepage = https://github.com/Pylons/pyramid_chameleon;
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -2105,26 +2105,7 @@ in {
pyramid_beaker = callPackage ../development/python-modules/pyramid_beaker { };
pyramid_chameleon = buildPythonPackage rec {
name = "pyramid_chameleon-0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyramid_chameleon/${name}.tar.gz";
sha256 = "d176792a50eb015d7865b44bd9b24a7bd0489fa9a5cebbd17b9e05048cef9017";
};
propagatedBuildInputs = with self; [
chameleon
pyramid
zope_interface
setuptools
];
meta = {
maintainers = with maintainers; [ domenkozar ];
};
};
pyramid_chameleon = callPackage ../development/python-modules/pyramid_chameleon { };
pyramid_jinja2 = buildPythonPackage rec {
name = "pyramid_jinja2-${version}";