mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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 {
|
in stdenv.mkDerivation rec {
|
||||||
name = "vault-${version}";
|
name = "vault-${version}";
|
||||||
version = "0.8.3";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hashicorp";
|
owner = "hashicorp";
|
||||||
repo = "vault";
|
repo = "vault";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1dcmqbcdkj42614am2invb6wf8v29z4sp4d354a4d83rwhyb0qly";
|
sha256 = "1c3jaajf3wpjczbncvdpyy5vaa62gb9287bj2zi2khvqzvii36b0";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ go gox removeReferencesTo ];
|
nativeBuildInputs = [ go gox removeReferencesTo ];
|
||||||
@ -23,6 +23,7 @@ in stdenv.mkDerivation rec {
|
|||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
patchShebangs ./
|
patchShebangs ./
|
||||||
substituteInPlace scripts/build.sh --replace 'git rev-parse HEAD' 'echo ${src.rev}'
|
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
|
mkdir -p src/github.com/hashicorp
|
||||||
ln -s $(pwd) src/github.com/hashicorp/vault
|
ln -s $(pwd) src/github.com/hashicorp/vault
|
||||||
|
Loading…
Reference in New Issue
Block a user