mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
57183eef63
Adds a new package, saml2aws, a CLI tool for managaing AWS logins via SAML. For more information see https://github.com/Versent/saml2aws. * Add nix expression to build the package. * Add myself as a maintainer.
29 lines
777 B
Nix
29 lines
777 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "saml2aws-${version}";
|
|
version = "2.6.1";
|
|
|
|
goPackagePath = "github.com/versent/saml2aws";
|
|
goDeps = ./deps.nix;
|
|
|
|
buildFlagsArray = ''
|
|
-ldflags=-X main.Version=${version}
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "Versent";
|
|
repo = "saml2aws";
|
|
sha256 = "0sg5qm1gyrisna247lmxfgpa22y6rnz9vd6yg92kxlcwr4ji8l1j";
|
|
};
|
|
|
|
meta = with stdenv.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;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.pmyjavec ];
|
|
};
|
|
}
|