uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
64
pkgs/tools/admin/aws-google-auth/default.nix
Normal file
64
pkgs/tools/admin/aws-google-auth/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, beautifulsoup4
|
||||
, boto3
|
||||
, configparser
|
||||
, filelock
|
||||
, 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.38";
|
||||
|
||||
# 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 = "refs/tags/${version}";
|
||||
sha256 = "sha256-/Xe4RDA9sBEsBBV1VP91VX0VfO8alK8L70m9WrB7qu4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
boto3
|
||||
configparser
|
||||
filelock
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue