saml2aws: format with nixfmt-rfc-style
This commit is contained in:
parent
1f0c6450b3
commit
b2654f9d8e
@ -1,4 +1,11 @@
|
|||||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, AppKit }:
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
installShellFiles,
|
||||||
|
AppKit,
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "saml2aws";
|
pname = "saml2aws";
|
||||||
@ -16,7 +23,10 @@ buildGoModule rec {
|
|||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
|
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
|
||||||
|
|
||||||
subPackages = [ "." "cmd/saml2aws" ];
|
subPackages = [
|
||||||
|
"."
|
||||||
|
"cmd/saml2aws"
|
||||||
|
];
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-X main.Version=${version}"
|
"-X main.Version=${version}"
|
||||||
@ -31,8 +41,8 @@ buildGoModule rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP";
|
description = "CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP";
|
||||||
mainProgram = "saml2aws";
|
mainProgram = "saml2aws";
|
||||||
homepage = "https://github.com/Versent/saml2aws";
|
homepage = "https://github.com/Versent/saml2aws";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ lib.maintainers.pmyjavec ];
|
maintainers = [ lib.maintainers.pmyjavec ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user