Skip to content

Commit

Permalink
saml2aws: format with nixfmt-rfc-style
Browse files Browse the repository at this point in the history
  • Loading branch information
pedorich-n committed Sep 3, 2024
1 parent 1f0c645 commit b2654f9
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pkgs/tools/security/saml2aws/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, AppKit }:
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
AppKit,
}:

buildGoModule rec {
pname = "saml2aws";
Expand All @@ -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}"
Expand All @@ -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 ];
};
}

0 comments on commit b2654f9

Please sign in to comment.