From fc985363b3f0ac5e1780e77122b5a38f17cbd4e8 Mon Sep 17 00:00:00 2001 From: nat Date: Sun, 10 Nov 2024 14:42:12 +0100 Subject: [PATCH 1/2] awsume: add mainProgram --- pkgs/tools/admin/awsume/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/admin/awsume/default.nix b/pkgs/tools/admin/awsume/default.nix index a6ee9f326c1d..ff83b6b6cf28 100644 --- a/pkgs/tools/admin/awsume/default.nix +++ b/pkgs/tools/admin/awsume/default.nix @@ -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 ]; }; } From aec8232f01b4a51f45f99d0ec80c3a33b8555968 Mon Sep 17 00:00:00 2001 From: nat Date: Sun, 10 Nov 2024 14:55:00 +0100 Subject: [PATCH 2/2] awsume: 4.5.3 -> 4.5.5 --- pkgs/tools/admin/awsume/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/awsume/default.nix b/pkgs/tools/admin/awsume/default.nix index ff83b6b6cf28..42de084b7cdb 100644 --- a/pkgs/tools/admin/awsume/default.nix +++ b/pkgs/tools/admin/awsume/default.nix @@ -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 = ''