pythonPackages.pyramid_mako: refactor move to python-modules
This commit is contained in:
parent
8ad4ee2c80
commit
5b2e663e77
2 changed files with 28 additions and 12 deletions
27
pkgs/development/python-modules/pyramid_mako/default.nix
Normal file
27
pkgs/development/python-modules/pyramid_mako/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, webtest
|
||||
, pyramid
|
||||
, Mako
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyramid_mako";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "00811djmsc4rz20kpy2paam05fbx6dmrv2i5jf90f6xp6zw4isy6";
|
||||
};
|
||||
|
||||
buildInputs = [ webtest ];
|
||||
propagatedBuildInputs = [ pyramid Mako ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/Pylons/pyramid_mako;
|
||||
description = "Mako template bindings for the Pyramid web framework";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
|
@ -2109,18 +2109,7 @@ in {
|
|||
|
||||
pyramid_jinja2 = callPackage ../development/python-modules/pyramid_jinja2 { };
|
||||
|
||||
pyramid_mako = buildPythonPackage rec {
|
||||
name = "pyramid_mako-0.3.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyramid_mako/${name}.tar.gz";
|
||||
sha256 = "00811djmsc4rz20kpy2paam05fbx6dmrv2i5jf90f6xp6zw4isy6";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ webtest ];
|
||||
propagatedBuildInputs = with self; [ pyramid Mako ];
|
||||
};
|
||||
|
||||
pyramid_mako = callPackage ../development/python-modules/pyramid_mako { };
|
||||
|
||||
pyramid_exclog = buildPythonPackage rec {
|
||||
name = "pyramid_exclog-0.7";
|
||||
|
|
Loading…
Reference in a new issue