pythonPackages.pyramid_exclog: refactor move to python-modules
This commit is contained in:
parent
5b2e663e77
commit
0a0a1811db
2 changed files with 26 additions and 16 deletions
25
pkgs/development/python-modules/pyramid_exclog/default.nix
Normal file
25
pkgs/development/python-modules/pyramid_exclog/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyramid
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyramid_exclog";
|
||||
version = "0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a58c82866c3e1a350684e6b83b440d5dc5e92ca5d23794b56d53aac06fb65a2c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyramid ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A package which logs to a Python logger when an exception is raised by a Pyramid application";
|
||||
homepage = http://docs.pylonsproject.org/;
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ garbas domenkozar ];
|
||||
};
|
||||
|
||||
}
|
|
@ -2111,22 +2111,7 @@ in {
|
|||
|
||||
pyramid_mako = callPackage ../development/python-modules/pyramid_mako { };
|
||||
|
||||
pyramid_exclog = buildPythonPackage rec {
|
||||
name = "pyramid_exclog-0.7";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyramid_exclog/${name}.tar.gz";
|
||||
sha256 = "a58c82866c3e1a350684e6b83b440d5dc5e92ca5d23794b56d53aac06fb65a2c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ pyramid ];
|
||||
|
||||
meta = {
|
||||
maintainers = with maintainers; [ garbas domenkozar ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
pyramid_exclog = callPackage ../development/python-modules/pyramid_exclog { };
|
||||
|
||||
pyramid_multiauth = buildPythonPackage rec {
|
||||
name = "pyramid_multiauth-${version}";
|
||||
|
|
Loading…
Reference in a new issue