forked from mirrors/nixpkgs
vault: 0.8.3 -> 0.9.0
This commit is contained in:
parent
6530159f17
commit
f019707548
|
@ -9,13 +9,13 @@ let
|
|||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "vault-${version}";
|
||||
version = "0.8.3";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hashicorp";
|
||||
repo = "vault";
|
||||
rev = "v${version}";
|
||||
sha256 = "1dcmqbcdkj42614am2invb6wf8v29z4sp4d354a4d83rwhyb0qly";
|
||||
sha256 = "1c3jaajf3wpjczbncvdpyy5vaa62gb9287bj2zi2khvqzvii36b0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ go gox removeReferencesTo ];
|
||||
|
@ -23,6 +23,7 @@ in stdenv.mkDerivation rec {
|
|||
buildPhase = ''
|
||||
patchShebangs ./
|
||||
substituteInPlace scripts/build.sh --replace 'git rev-parse HEAD' 'echo ${src.rev}'
|
||||
sed -i s/'^GIT_DIRTY=.*'/'GIT_DIRTY="+NixOS"'/ scripts/build.sh
|
||||
|
||||
mkdir -p src/github.com/hashicorp
|
||||
ln -s $(pwd) src/github.com/hashicorp/vault
|
||||
|
|
Loading…
Reference in a new issue