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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools_scm
|
, setuptools-scm
|
||||||
, pycryptodome
|
, pycryptodome
|
||||||
, requests
|
, requests
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -15,13 +16,17 @@ buildPythonPackage rec {
|
||||||
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
|
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ setuptools_scm ];
|
buildInputs = [
|
||||||
propagatedBuildInputs = [ pycryptodome requests ];
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
# Jailbreak pycryptodome
|
propagatedBuildInputs = [
|
||||||
preBuild = ''
|
pycryptodome
|
||||||
substituteInPlace setup.py --replace "==3.4.7" ""
|
requests
|
||||||
'';
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "httpsig" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Sign HTTP requests with secure signatures";
|
description = "Sign HTTP requests with secure signatures";
|
||||||
|
|
Loading…
Reference in a new issue