pythonPacakges.pyramid_jinja2: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 11:15:47 -04:00 committed by Frederik Rietdijk
parent 8c158456d6
commit 8ad4ee2c80
2 changed files with 29 additions and 18 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, webtest
, jinja2
, pyramid
}:
buildPythonPackage rec {
pname = "pyramid_jinja2";
version = "2.5";
src = fetchPypi {
inherit pname version;
sha256 = "93c86e3103b454301f4d66640191aba047f2ab85ba75647aa18667b7448396bd";
};
buildInputs = [ webtest ];
propagatedBuildInputs = [ jinja2 pyramid ];
meta = with stdenv.lib; {
description = "Jinja2 template bindings for the Pyramid web framework";
homepage = https://github.com/Pylons/pyramid_jinja2;
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -2107,24 +2107,7 @@ in {
pyramid_chameleon = callPackage ../development/python-modules/pyramid_chameleon { }; pyramid_chameleon = callPackage ../development/python-modules/pyramid_chameleon { };
pyramid_jinja2 = buildPythonPackage rec { pyramid_jinja2 = callPackage ../development/python-modules/pyramid_jinja2 { };
name = "pyramid_jinja2-${version}";
version = "2.5";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyramid_jinja2/${name}.tar.gz";
sha256 = "93c86e3103b454301f4d66640191aba047f2ab85ba75647aa18667b7448396bd";
};
buildInputs = with self; [ webtest ];
propagatedBuildInputs = with self; [ jinja2 pyramid ];
meta = {
maintainers = with maintainers; [ domenkozar ];
platforms = platforms.all;
};
};
pyramid_mako = buildPythonPackage rec { pyramid_mako = buildPythonPackage rec {
name = "pyramid_mako-0.3.1"; name = "pyramid_mako-0.3.1";