mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
Merge pull request #22237 from pradeepchhetri/vault
vault: 0.6.3 -> 0.6.4
This commit is contained in:
commit
8a2956691a
|
@ -4,12 +4,12 @@ let
|
|||
vaultBashCompletions = fetchFromGitHub {
|
||||
owner = "iljaweis";
|
||||
repo = "vault-bash-completion";
|
||||
rev = "62c142e20929f930c893ebe3366350d735e81fbd";
|
||||
sha256 = "0nfv10ykjq9751ijdyq728gjlgldm1lxvrar8kf6nz6rdfnnl2n5";
|
||||
rev = "e2f59b64be1fa5430fa05c91b6274284de4ea77c";
|
||||
sha256 = "10m75rp3hy71wlmnd88grmpjhqy0pwb9m8wm19l0f463xla54frd";
|
||||
};
|
||||
in buildGoPackage rec {
|
||||
name = "vault-${version}";
|
||||
version = "0.6.3";
|
||||
version = "0.6.4";
|
||||
|
||||
goPackagePath = "github.com/hashicorp/vault";
|
||||
|
||||
|
@ -17,7 +17,7 @@ in buildGoPackage rec {
|
|||
owner = "hashicorp";
|
||||
repo = "vault";
|
||||
rev = "v${version}";
|
||||
sha256 = "0cbaws106v5dxqjii1s9rmk55pm6y34jls35iggpx0pp1dd433xy";
|
||||
sha256 = "0rrrzkza12zbbfc24q4q7ygfczq1j8ljsjagsa8vpp3375dflzdy";
|
||||
};
|
||||
|
||||
buildFlagsArray = ''
|
||||
|
@ -26,7 +26,7 @@ in buildGoPackage rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $bin/share/bash-completion/completions/
|
||||
mkdir -p $bin/share/bash-completion/completions/
|
||||
cp ${vaultBashCompletions}/vault-bash-completion.sh $bin/share/bash-completion/completions/vault
|
||||
'';
|
||||
|
||||
|
@ -34,6 +34,6 @@ in buildGoPackage rec {
|
|||
homepage = https://www.vaultproject.io;
|
||||
description = "A tool for managing secrets";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ rushmorem offline ];
|
||||
maintainers = with maintainers; [ rushmorem offline pradeepchhetri ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue