mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
aws-sso-cli: 1.15.1 -> 1.16.1
This commit is contained in:
parent
78e99091e4
commit
0c1205d42b
1 changed files with 8 additions and 5 deletions
|
@ -1,20 +1,22 @@
|
||||||
{ buildGoModule
|
{ buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, getent
|
||||||
, lib
|
, lib
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, stdenv
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "aws-sso-cli";
|
pname = "aws-sso-cli";
|
||||||
version = "1.15.1";
|
version = "1.16.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "synfinatic";
|
owner = "synfinatic";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-MwmSGI3yRIlafRLx9hZzMLBg09mXGBeMaZJLpk+Fy5Y=";
|
hash = "sha256-jFeF/nxJMUO0tH8kgLgV6DIvN9KbcTy19LEvu4Paq8M=";
|
||||||
};
|
};
|
||||||
vendorHash = "sha256-3jW/8WvZHm66Hf9KLhj/LycCnJupF/zEU/2OcQKt1yg=";
|
vendorHash = "sha256-0ji2i2MSEqd3xxos96FHn9srDOtpvX3mFlaNoiTEa/U=";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
@ -28,10 +30,11 @@ buildGoModule rec {
|
||||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
|
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeCheckInputs = [ getent ];
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# requires network access
|
|
||||||
"-skip=TestAWSConsoleUrl|TestAWSFederatedUrl"
|
"-skip=TestAWSConsoleUrl|TestAWSFederatedUrl"
|
||||||
];
|
] ++ lib.optionals stdenv.isDarwin [ "--skip=TestDetectShellBash" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/synfinatic/aws-sso-cli";
|
homepage = "https://github.com/synfinatic/aws-sso-cli";
|
||||||
|
|
Loading…
Reference in a new issue