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