pythonPacakges.pyramid_jinja2: refactor move to python-modules
This commit is contained in:
parent
8c158456d6
commit
8ad4ee2c80
28
pkgs/development/python-modules/pyramid_jinja2/default.nix
Normal file
28
pkgs/development/python-modules/pyramid_jinja2/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -2107,24 +2107,7 @@ in {
|
||||
|
||||
pyramid_chameleon = callPackage ../development/python-modules/pyramid_chameleon { };
|
||||
|
||||
pyramid_jinja2 = buildPythonPackage rec {
|
||||
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_jinja2 = callPackage ../development/python-modules/pyramid_jinja2 { };
|
||||
|
||||
pyramid_mako = buildPythonPackage rec {
|
||||
name = "pyramid_mako-0.3.1";
|
||||
|
Loading…
Reference in New Issue
Block a user