python3Packages.requests-http-message-signatures: init at 0.3.0
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
poetry-core,
|
||||
cryptography,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "requests-http-message-signatures";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "dev.funkwhale.audio";
|
||||
owner = "funkwhale";
|
||||
repo = "requests-http-message-signatures";
|
||||
tag = version;
|
||||
hash = "sha256-1GObY+bF5wwgjDORUlO61bmIadK+EpZtyYGMgS9Bqzg=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
requests
|
||||
];
|
||||
|
||||
# Tests require network access.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "requests_http_message_signatures" ];
|
||||
|
||||
meta = {
|
||||
description = "Request authentication plugin implementing IETF HTTP Message Signatures";
|
||||
homepage = "https://dev.funkwhale.audio/funkwhale/requests-http-message-signatures";
|
||||
changelog = "https://dev.funkwhale.audio/funkwhale/requests-http-message-signatures/-/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
teams = [ lib.teams.ngi ];
|
||||
};
|
||||
}
|
||||
@@ -16128,6 +16128,10 @@ self: super: with self; {
|
||||
|
||||
requests-hawk = callPackage ../development/python-modules/requests-hawk { };
|
||||
|
||||
requests-http-message-signatures =
|
||||
callPackage ../development/python-modules/requests-http-message-signatures
|
||||
{ };
|
||||
|
||||
requests-http-signature = callPackage ../development/python-modules/requests-http-signature { };
|
||||
|
||||
requests-kerberos = callPackage ../development/python-modules/requests-kerberos { };
|
||||
|
||||
Reference in New Issue
Block a user