tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
vault: 0.10.3 -> 0.10.4
Daiderd Jordan
7 years ago
bf2d73ca
c2cf0c5f
+6
-8
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
vault
default.nix
+6
-8
pkgs/tools/security/vault/default.nix
reviewed
···
9
9
};
10
10
in stdenv.mkDerivation rec {
11
11
name = "vault-${version}";
12
12
-
version = "0.10.3";
12
12
+
version = "0.10.4";
13
13
14
14
src = fetchFromGitHub {
15
15
owner = "hashicorp";
16
16
repo = "vault";
17
17
rev = "v${version}";
18
18
-
sha256 = "16sndzbfciw4bccxm7sc83y2pma2bgsmc1kqyb2hp0jsdy4rl3k4";
18
18
+
sha256 = "1f11arvj7zp8wwkvv3nn7kyga0ci8psdif6djrnzwjksskdgdbx5";
19
19
};
20
20
21
21
nativeBuildInputs = [ go gox removeReferencesTo ];
22
22
23
23
-
buildPhase = ''
23
23
+
preBuild = ''
24
24
patchShebangs ./
25
25
substituteInPlace scripts/build.sh --replace 'git rev-parse HEAD' 'echo ${src.rev}'
26
26
sed -i s/'^GIT_DIRTY=.*'/'GIT_DIRTY="+NixOS"'/ scripts/build.sh
27
27
28
28
-
mkdir -p src/github.com/hashicorp
28
28
+
mkdir -p .git/hooks src/github.com/hashicorp
29
29
ln -s $(pwd) src/github.com/hashicorp/vault
30
30
31
31
-
mkdir -p .git/hooks
32
32
-
33
33
-
GOPATH=$(pwd) make
31
31
+
export GOPATH=$(pwd)
34
32
'';
35
33
36
34
installPhase = ''
···
47
45
description = "A tool for managing secrets";
48
46
platforms = platforms.linux ++ platforms.darwin;
49
47
license = licenses.mpl20;
50
50
-
maintainers = with maintainers; [ rushmorem offline pradeepchhetri ];
48
48
+
maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri ];
51
49
};
52
50
}