depot/third_party/nixpkgs/pkgs/development/python-modules/httpsig/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

45 lines
780 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
pycryptodome,
requests,
six,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "httpsig";
version = "1.3.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-cdbVAkYSnE98/sIPXlfjUdK4SS1jHMKqlnkUrPkfbOY=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
pycryptodome
requests
six
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "httpsig" ];
meta = with lib; {
description = "Sign HTTP requests with secure signatures";
license = licenses.mit;
maintainers = with maintainers; [ srhb ];
homepage = "https://github.com/ahknight/httpsig";
};
}