Skip to content

Commit 18536bf

Browse files
authored
bant: 0.1.7 fix changed hash of fixed derivation. (#350381)
2 parents f5876b3 + 062011c commit 18536bf

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

pkgs/by-name/ba/bant/package.nix

+16-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ let
1515
rev = "40bc9ad53e5a59d596935839e7c072679e706266";
1616
hash = "sha256-CL0YMQd1ck6/dlvJCLxt9jYyqDuk+iAWfdBOMj864u8=";
1717
};
18-
in buildBazelPackage rec {
18+
in
19+
buildBazelPackage rec {
1920
pname = "bant";
2021
version = "0.1.7";
2122

@@ -26,17 +27,22 @@ in buildBazelPackage rec {
2627
hash = "sha256-QbxPosjlrpxbz6gQKUKccF2Gu/i5xvqh2gwfABYE8kE=";
2728
};
2829

29-
bazelFlags = ["--registry" "file://${registry}"];
30+
bazelFlags = [
31+
"--registry"
32+
"file://${registry}"
33+
];
3034

3135
postPatch = ''
3236
patchShebangs scripts/create-workspace-status.sh
3337
'';
3438

3539
fetchAttrs = {
36-
sha256 = {
37-
aarch64-linux = "sha256-09RL0tj6xsGEmuv11V81eAtqLc9nAaE8Il3d6ueS0UQ=";
38-
x86_64-linux = "sha256-6mlaJ/kT14vKvlJjxqBK/lESjjxbcYxApi7+eiiI37M=";
39-
}.${system} or (throw "No hash for system: ${system}");
40+
hash =
41+
{
42+
aarch64-linux = "sha256-LNca4h4yceSgve9GYUoXqlODKPjLAa71kh1BWXqRYtk=";
43+
x86_64-linux = "sha256-bRFIfaVbsU2WroXR/i0E7J4rWeaNEoum93r8qOMXXvc=";
44+
}
45+
.${system} or (throw "No hash for system: ${system}");
4046
};
4147

4248
nativeBuildInputs = [
@@ -58,7 +64,10 @@ in buildBazelPackage rec {
5864
description = "Bazel/Build Analysis and Navigation Tool";
5965
homepage = "http://bant.build/";
6066
license = licenses.gpl2Only;
61-
maintainers = with maintainers; [ hzeller lromor ];
67+
maintainers = with maintainers; [
68+
hzeller
69+
lromor
70+
];
6271
platforms = platforms.linux;
6372
};
6473
}

0 commit comments

Comments
 (0)