mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
19195a7925
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/aws-google-auth/versions
63 lines
1.2 KiB
Nix
63 lines
1.2 KiB
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchFromGitHub
|
|
, beautifulsoup4
|
|
, boto3
|
|
, configparser
|
|
, keyring
|
|
, keyrings-alt
|
|
, lxml
|
|
, pillow
|
|
, requests
|
|
, six
|
|
, tabulate
|
|
, tzlocal
|
|
, nose
|
|
, mock
|
|
, withU2F ? false, python-u2flib-host
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "aws-google-auth";
|
|
version = "0.0.32";
|
|
|
|
# Pypi doesn't ship the tests, so we fetch directly from GitHub
|
|
# https://github.com/cevoaustralia/aws-google-auth/issues/120
|
|
src = fetchFromGitHub {
|
|
owner = "cevoaustralia";
|
|
repo = "aws-google-auth";
|
|
rev = version;
|
|
sha256 = "0blsvdkb28g1s3c7f8brjjai7lq9ij76xqr5z6zlxxafc4qqwhh3";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
boto3
|
|
configparser
|
|
keyring
|
|
keyrings-alt
|
|
lxml
|
|
pillow
|
|
requests
|
|
six
|
|
tabulate
|
|
tzlocal
|
|
] ++ lib.optional withU2F python-u2flib-host;
|
|
|
|
checkInputs = [
|
|
mock
|
|
nose
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Acquire AWS STS (temporary) credentials via Google Apps SAML Single Sign On";
|
|
homepage = https://github.com/cevoaustralia/aws-google-auth;
|
|
maintainers = [ maintainers.marsam ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|