python310Packages.aws-adfs: 2.0.1 -> 2.0.2

This commit is contained in:
Fabian Affolter 2022-04-28 00:38:28 +02:00
parent d123039b2e
commit a968ca11ab

View file

@ -5,7 +5,6 @@
, click , click
, configparser , configparser
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, fido2 , fido2
, lxml , lxml
, poetry-core , poetry-core
@ -19,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aws-adfs"; pname = "aws-adfs";
version = "2.0.1"; version = "2.0.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -28,7 +27,7 @@ buildPythonPackage rec {
owner = "venth"; owner = "venth";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-0BURXbEOZvb8kszuajLtR+V7HjJycCBAQrm3WqpVB1w="; hash = "sha256-T3AmPCOSeu7gvl57aHjnviy5iQAKlWy85fUOVecFRFc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -47,15 +46,6 @@ buildPythonPackage rec {
requests-kerberos requests-kerberos
]; ];
patches = [
# Switch to poetry-core, https://github.com/venth/aws-adfs/pull/230
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/venth/aws-adfs/commit/da095ccf64629d36a6045ffec2684038378ee690.patch";
sha256 = "sha256-xg4c7iIonkUmNN74q/UeGSuYP3to7q4cLW6+TMW9nh4=";
})
];
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'boto3 = "^1.20.50"' 'boto3 = "*"' \ --replace 'boto3 = "^1.20.50"' 'boto3 = "*"' \