Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 76 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ 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"; };}