nixpkgs/pkgs/tools/security/saml2aws/default.nix

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

32 lines
827 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoModule, fetchFromGitHub, AppKit }:
buildGoModule rec {
2019-07-09 07:40:22 +00:00
pname = "saml2aws";
2024-03-31 04:24:47 +00:00
version = "2.36.15";
src = fetchFromGitHub {
owner = "Versent";
repo = "saml2aws";
rev = "v${version}";
2024-03-31 04:24:47 +00:00
sha256 = "sha256-lfA+D3NsrnYwqX1hfC3TOQKEBW/65QGUjzYxe2RVVSM=";
};
2024-03-31 04:24:47 +00:00
vendorHash = "sha256-3jne2an651tlyXgmmQ28R/bwsfaQzI4rC+4WJhyDA2E=";
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
subPackages = [ "." "cmd/saml2aws" ];
2021-08-26 06:45:51 +00:00
ldflags = [
"-X main.Version=${version}"
];
meta = with lib; {
description = "CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP";
mainProgram = "saml2aws";
homepage = "https://github.com/Versent/saml2aws";
license = licenses.mit;
2021-01-15 09:19:50 +00:00
maintainers = [ lib.maintainers.pmyjavec ];
};
2020-06-04 02:57:19 +00:00
}