mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
38 lines
655 B
Nix
38 lines
655 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
, pycryptodome
|
|
, requests
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "httpsig";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
|
|
};
|
|
|
|
buildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pycryptodome
|
|
requests
|
|
six
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|