nixpkgs/pkgs/by-name/ok/okta-aws-cli/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
704 B
Nix
Raw Normal View History

2023-05-15 21:26:45 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "okta-aws-cli";
2024-09-04 03:57:43 +00:00
version = "2.3.1";
2023-05-15 21:26:45 +00:00
subPackages = [ "cmd/okta-aws-cli" ];
src = fetchFromGitHub {
owner = "okta";
repo = "okta-aws-cli";
rev = "v${version}";
2024-09-04 03:57:43 +00:00
sha256 = "sha256-dts2aTd90bsuTkXB6AxFN6IziOQXTG1XLT0XSAC1Avc=";
2023-05-15 21:26:45 +00:00
};
2024-07-04 01:33:22 +00:00
vendorHash = "sha256-2VTq8lzGYBKH410/mflloAphWTwFie3mdmz2kLkfuQ0=";
2023-05-15 21:26:45 +00:00
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "CLI for having Okta as the IdP for AWS CLI operations";
homepage = "https://github.com/okta/okta-aws-cli";
license = licenses.asl20;
maintainers = with maintainers; [ daniyalsuri6 ];
2024-02-11 02:19:15 +00:00
mainProgram = "okta-aws-cli";
2023-05-15 21:26:45 +00:00
};
}