awsume: 4.5.3 -> 4.5.5, add mainProgram, use --replace-fail (#354996)
This commit is contained in:
commit
394e4831a0
@ -12,13 +12,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "awsume";
|
||||
version = "4.5.3";
|
||||
version = "4.5.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trek10inc";
|
||||
repo = "awsume";
|
||||
rev = version;
|
||||
sha256 = "sha256-An7omHk2Yxjc6db6Y8QSrtgUvSF5rlVhgxMTpNOePHo=";
|
||||
sha256 = "sha256-lm9YANYckyHDoNbB1wytBm55iyBmUuxFPmZupfpReqc=";
|
||||
};
|
||||
|
||||
AWSUME_SKIP_ALIAS_SETUP = 1;
|
||||
@ -35,7 +35,7 @@ buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs shell_scripts
|
||||
substituteInPlace shell_scripts/{awsume,awsume.fish} --replace "awsumepy" "$out/bin/awsumepy"
|
||||
substituteInPlace shell_scripts/{awsume,awsume.fish} --replace-fail "awsumepy" "$out/bin/awsumepy"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
@ -54,6 +54,7 @@ buildPythonApplication rec {
|
||||
description = "Utility for easily assuming AWS IAM roles from the command line";
|
||||
homepage = "https://github.com/trek10inc/awsume";
|
||||
license = [ licenses.mit ];
|
||||
mainProgram = "awsume";
|
||||
maintainers = [ maintainers.nilp0inter ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user