pythonPackages.hackauthlib: refactor move to python-modules
This commit is contained in:
parent
f4c92c603c
commit
d063f818d5
|
@ -0,0 +1,26 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, requests
|
||||
, webob
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hawkauthlib";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/mozilla-services/hawkauthlib.git;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests webob ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/mozilla-services/hawkauthlib;
|
||||
description = "Hawk Access Authentication protocol";
|
||||
license = licenses.mpl20;
|
||||
};
|
||||
|
||||
}
|
|
@ -2438,17 +2438,7 @@ in {
|
|||
|
||||
gunicorn = callPackage ../development/python-modules/gunicorn { };
|
||||
|
||||
hawkauthlib = buildPythonPackage rec {
|
||||
name = "hawkauthlib-${version}";
|
||||
version = "0.1.1";
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/hawkauthlib.git;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests webob ];
|
||||
};
|
||||
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
|
||||
|
||||
hdbscan = callPackage ../development/python-modules/hdbscan { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue