python3Packages.aws-adfs: fix build
This commit is contained in:
parent
7e65690165
commit
1a4f4b8849
1 changed files with 34 additions and 7 deletions
|
@ -1,6 +1,19 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestrunner, pytestcov, mock, glibcLocales, lxml, botocore
|
||||
, requests, requests-kerberos, click, configparser, fido2, isPy27 }:
|
||||
{ lib
|
||||
, botocore
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, configparser
|
||||
, fetchPypi
|
||||
, fido2
|
||||
, glibcLocales
|
||||
, isPy27
|
||||
, lxml
|
||||
, mock
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, requests-kerberos
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-adfs";
|
||||
|
@ -12,8 +25,25 @@ buildPythonPackage rec {
|
|||
sha256 = "6a78bd31477ea9988166215ae86abcbfe1413bee20373ecdf0dd170b7290db55";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
botocore
|
||||
click
|
||||
configparser
|
||||
fido2
|
||||
lxml
|
||||
pyopenssl
|
||||
requests
|
||||
requests-kerberos
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
glibcLocales
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Relax version constraint
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
sed -i 's/coverage < 4/coverage/' setup.py
|
||||
'';
|
||||
|
||||
|
@ -23,9 +53,6 @@ buildPythonPackage rec {
|
|||
# Required for python3 tests, along with glibcLocales
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkInputs = [ glibcLocales pytest pytestrunner pytestcov mock ];
|
||||
propagatedBuildInputs = [ botocore lxml requests requests-kerberos click configparser fido2 ];
|
||||
|
||||
pythonImportsCheck = [ "aws_adfs" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue