saml2aws: format with nixfmt-rfc-style

This commit is contained in:
Nikita Pedorich 2024-09-03 23:15:38 +09:00
parent 1f0c6450b3
commit b2654f9d8e
No known key found for this signature in database
GPG Key ID: ADC7FB37D4DF4CE2

View File

@ -1,4 +1,11 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, AppKit }:
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
AppKit,
}:
buildGoModule rec {
pname = "saml2aws";
@ -16,7 +23,10 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
subPackages = [ "." "cmd/saml2aws" ];
subPackages = [
"."
"cmd/saml2aws"
];
ldflags = [
"-X main.Version=${version}"
@ -31,8 +41,8 @@ buildGoModule rec {
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;
homepage = "https://github.com/Versent/saml2aws";
license = licenses.mit;
maintainers = [ lib.maintainers.pmyjavec ];
};
}