pythonPackages.pyramid_hawkauth: refactor move to python-modules
This commit is contained in:
parent
3c1815eb44
commit
bad2b3c229
29
pkgs/development/python-modules/pyramid_hawkauth/default.nix
Normal file
29
pkgs/development/python-modules/pyramid_hawkauth/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, pyramid
|
||||||
|
, hawkauthlib
|
||||||
|
, tokenlib
|
||||||
|
, webtest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyramidhawkauth";
|
||||||
|
version = "0.1.0";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = https://github.com/mozilla-services/pyramid_hawkauth.git;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pyramid hawkauthlib tokenlib ];
|
||||||
|
buildInputs = [ webtest ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/mozilla-services/pyramid_hawkauth;
|
||||||
|
description = "A Pyramid authentication plugin for HAWK";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2115,18 +2115,7 @@ in {
|
|||||||
|
|
||||||
pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { };
|
pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { };
|
||||||
|
|
||||||
pyramid_hawkauth = buildPythonPackage rec {
|
pyramid_hawkauth = callPackage ../development/python-modules/pyramid_hawkauth { };
|
||||||
name = "pyramidhawkauth-${version}";
|
|
||||||
version = "0.1.0";
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = https://github.com/mozilla-services/pyramid_hawkauth.git;
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pyramid hawkauthlib tokenlib ];
|
|
||||||
buildInputs = with self; [ webtest ];
|
|
||||||
};
|
|
||||||
|
|
||||||
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
|
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user