3
0
Fork 0
forked from mirrors/nixpkgs
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
836 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoModule, fetchFromGitHub, AppKit }:
buildGoModule rec {
2019-07-09 08:40:22 +01:00
pname = "saml2aws";
2022-02-03 10:09:18 +00:00
version = "2.34.0";
src = fetchFromGitHub {
owner = "Versent";
repo = "saml2aws";
rev = "v${version}";
2022-02-03 10:09:18 +00:00
sha256 = "sha256-JRJjuVF0MkV7KVmbAZhiWPWVwDORByCsZqPwdTuVRoA=";
};
2022-02-03 20:22:48 +00:00
vendorSha256 = "sha256-/N/RYqt+lhhECK+uq99vkm3Mg7PWpdE0GYLXkIYthNw=";
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
subPackages = [ "." "cmd/saml2aws" ];
2021-08-26 07:45:51 +01: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";
homepage = "https://github.com/Versent/saml2aws";
license = licenses.mit;
2021-01-15 09:19:50 +00:00
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.pmyjavec ];
};
2020-06-04 03:57:19 +01:00
}