python3Packages.httpsig: fix build
This commit is contained in:
parent
de5d734e0c
commit
5a28fc174a
1 changed files with 12 additions and 7 deletions
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, setuptools-scm
|
||||
, pycryptodome
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,13 +16,17 @@ buildPythonPackage rec {
|
|||
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ pycryptodome requests ];
|
||||
buildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
# Jailbreak pycryptodome
|
||||
preBuild = ''
|
||||
substituteInPlace setup.py --replace "==3.4.7" ""
|
||||
'';
|
||||
propagatedBuildInputs = [
|
||||
pycryptodome
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "httpsig" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sign HTTP requests with secure signatures";
|
||||
|
|
Loading…
Reference in a new issue