pythonPackages.requests-http-signature: init at 0.1.0
This commit is contained in:
parent
1b11d0f80f
commit
704b80fb9e
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, requests
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "requests-http-signature";
|
||||||
|
version = "0.1.0";
|
||||||
|
|
||||||
|
# .pem files for tests aren't present on PyPI
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pyauth";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0y96wsbci296m1rcxx0ybx8r44rdvyb59p1jl27p7rgz7isr3kx1";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} test/test.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Requests auth module for HTTP Signature";
|
||||||
|
homepage = "https://github.com/kislyuk/requests-http-signature";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ mmai ];
|
||||||
|
};
|
||||||
|
}
|
@ -4781,6 +4781,8 @@ in {
|
|||||||
|
|
||||||
readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { };
|
readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { };
|
||||||
|
|
||||||
|
requests-http-signature = callPackage ../development/python-modules/requests-http-signature { };
|
||||||
|
|
||||||
resampy = callPackage ../development/python-modules/resampy { };
|
resampy = callPackage ../development/python-modules/resampy { };
|
||||||
|
|
||||||
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
||||||
|
Loading…
Reference in New Issue
Block a user