push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
{
lib,
boto3,
botocore,
buildPythonPackage,
click,
configparser,
fetchFromGitHub,
fido2,
lxml,
poetry-core,
pyopenssl,
pytestCheckHook,
pythonOlder,
requests,
requests-kerberos,
toml,
}:
buildPythonPackage rec {
pname = "aws-adfs";
version = "2.12.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "venth";
repo = "aws-adfs";
tag = "v${version}";
hash = "sha256-U1ptI/VynHArJ1SwX4LanHB0f4U38YZO9XDCXcLBu+s=";
};
build-system = [
poetry-core
];
pythonRelaxDeps = [
"configparser"
"fido2"
"lxml"
"requests-kerberos"
];
dependencies = [
boto3
botocore
click
configparser
fido2
lxml
pyopenssl
requests
requests-kerberos
];
nativeCheckInputs = [
pytestCheckHook
toml
];
preCheck = ''
export HOME=$(mktemp -d);
'';
pythonImportsCheck = [ "aws_adfs" ];
meta = with lib; {
description = "Command line tool to ease AWS CLI authentication against ADFS";
homepage = "https://github.com/venth/aws-adfs";
changelog = "https://github.com/venth/aws-adfs/releases/tag/${src.tag}";
license = licenses.psfl;
maintainers = with maintainers; [ bhipple ];
mainProgram = "aws-adfs";
};
}