pythonPackages.pyramid_multiauth: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 11:27:47 -04:00 committed by Frederik Rietdijk
parent 0a0a1811db
commit 3c1815eb44
2 changed files with 25 additions and 16 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pyramid
}:
buildPythonPackage rec {
pname = "pyramid_multiauth";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "1lq292qakrm4ixi4vaif8dqywzj08pn6qy0wi4gw28blh39p0msk";
};
propagatedBuildInputs = [ pyramid ];
meta = with stdenv.lib; {
description = "Authentication policy for Pyramid that proxies to a stack of other authentication policies";
homepage = https://github.com/mozilla-services/pyramid_multiauth;
license = licenses.mpl20;
};
}

View File

@ -2113,22 +2113,7 @@ in {
pyramid_exclog = callPackage ../development/python-modules/pyramid_exclog { };
pyramid_multiauth = buildPythonPackage rec {
name = "pyramid_multiauth-${version}";
version = "0.8.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyramid_multiauth/${name}.tar.gz";
sha256 = "1lq292qakrm4ixi4vaif8dqywzj08pn6qy0wi4gw28blh39p0msk";
};
propagatedBuildInputs = with self; [ pyramid ];
meta = {
description = "Authentication policy for Pyramid that proxies to a stack of other authentication policies";
homepage = https://github.com/mozilla-services/pyramid_multiauth;
};
};
pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { };
pyramid_hawkauth = buildPythonPackage rec {
name = "pyramidhawkauth-${version}";