depot/third_party/nixpkgs/pkgs/development/python-modules/httpsig/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

46 lines
775 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";
};
}