Files
nixpkgs/pkgs/development/python-modules/http-message-signatures/default.nix
T
Martin Weinelt 357442785b python3Packages.http-message-signatures: 0.5.0 -> 1.0.0
This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:50 +02:00

50 lines
980 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
http-sfv,
pytestCheckHook,
pythonOlder,
setuptools-scm,
requests,
}:
buildPythonPackage rec {
pname = "http-message-signatures";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pyauth";
repo = "http-message-signatures";
tag = "v${version}";
hash = "sha256-vPZeAS3hR7Bmj2FtME+V9WU3TViBndrBb9GLkdMVh2Q=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
cryptography
http-sfv
];
nativeCheckInputs = [
pytestCheckHook
requests
];
enabledTestPaths = [ "test/test.py" ];
pythonImportsCheck = [ "http_message_signatures" ];
meta = with lib; {
description = "Requests authentication module for HTTP Signature";
homepage = "https://github.com/pyauth/http-message-signatures";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}