pythonPackages.pyramid_exclog: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 11:22:59 -04:00 committed by Frederik Rietdijk
parent 5b2e663e77
commit 0a0a1811db
2 changed files with 26 additions and 16 deletions

View 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 ];
};
}

View file

@ -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}";