Loading pkgs/by-name/va/vault/package.nix +46 −15 Original line number Diff line number Diff line { stdenv, lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests , makeWrapper , gawk , glibc { stdenv, lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests, makeWrapper, gawk, glibc, }: buildGoModule rec { Loading @@ -21,26 +27,44 @@ buildGoModule rec { subPackages = [ "." ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; tags = [ "vault" ]; ldflags = [ "-s" "-w" "-s" "-w" "-X github.com/hashicorp/vault/sdk/version.GitCommit=${src.rev}" "-X github.com/hashicorp/vault/sdk/version.Version=${version}" "-X github.com/hashicorp/vault/sdk/version.VersionPrerelease=" ]; postInstall = '' postInstall = '' echo "complete -C $out/bin/vault vault" > vault.bash installShellCompletion vault.bash '' + lib.optionalString stdenv.hostPlatform.isLinux '' '' + lib.optionalString stdenv.hostPlatform.isLinux '' wrapProgram $out/bin/vault \ --prefix PATH ${lib.makeBinPath [ gawk glibc ]} --prefix PATH ${ lib.makeBinPath [ gawk glibc ] } ''; passthru.tests = { inherit (nixosTests) vault vault-postgresql vault-dev vault-agent; }; passthru.tests = { inherit (nixosTests) vault vault-postgresql vault-dev vault-agent ; }; meta = with lib; { homepage = "https://www.vaultproject.io/"; Loading @@ -48,6 +72,13 @@ buildGoModule rec { changelog = "https://github.com/hashicorp/vault/blob/v${version}/CHANGELOG.md"; license = licenses.bsl11; mainProgram = "vault"; maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; }; } Loading
pkgs/by-name/va/vault/package.nix +46 −15 Original line number Diff line number Diff line { stdenv, lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests , makeWrapper , gawk , glibc { stdenv, lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests, makeWrapper, gawk, glibc, }: buildGoModule rec { Loading @@ -21,26 +27,44 @@ buildGoModule rec { subPackages = [ "." ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; tags = [ "vault" ]; ldflags = [ "-s" "-w" "-s" "-w" "-X github.com/hashicorp/vault/sdk/version.GitCommit=${src.rev}" "-X github.com/hashicorp/vault/sdk/version.Version=${version}" "-X github.com/hashicorp/vault/sdk/version.VersionPrerelease=" ]; postInstall = '' postInstall = '' echo "complete -C $out/bin/vault vault" > vault.bash installShellCompletion vault.bash '' + lib.optionalString stdenv.hostPlatform.isLinux '' '' + lib.optionalString stdenv.hostPlatform.isLinux '' wrapProgram $out/bin/vault \ --prefix PATH ${lib.makeBinPath [ gawk glibc ]} --prefix PATH ${ lib.makeBinPath [ gawk glibc ] } ''; passthru.tests = { inherit (nixosTests) vault vault-postgresql vault-dev vault-agent; }; passthru.tests = { inherit (nixosTests) vault vault-postgresql vault-dev vault-agent ; }; meta = with lib; { homepage = "https://www.vaultproject.io/"; Loading @@ -48,6 +72,13 @@ buildGoModule rec { changelog = "https://github.com/hashicorp/vault/blob/v${version}/CHANGELOG.md"; license = licenses.bsl11; mainProgram = "vault"; maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; }; }