Skip to content

Commit

Permalink
bant: 0.1.7 fix changed hash of fixed derivation. (#350381)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhjr authored Oct 25, 2024
2 parents f5876b3 + 062011c commit 18536bf
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions pkgs/by-name/ba/bant/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ let
rev = "40bc9ad53e5a59d596935839e7c072679e706266";
hash = "sha256-CL0YMQd1ck6/dlvJCLxt9jYyqDuk+iAWfdBOMj864u8=";
};
in buildBazelPackage rec {
in
buildBazelPackage rec {
pname = "bant";
version = "0.1.7";

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

bazelFlags = ["--registry" "file://${registry}"];
bazelFlags = [
"--registry"
"file://${registry}"
];

postPatch = ''
patchShebangs scripts/create-workspace-status.sh
'';

fetchAttrs = {
sha256 = {
aarch64-linux = "sha256-09RL0tj6xsGEmuv11V81eAtqLc9nAaE8Il3d6ueS0UQ=";
x86_64-linux = "sha256-6mlaJ/kT14vKvlJjxqBK/lESjjxbcYxApi7+eiiI37M=";
}.${system} or (throw "No hash for system: ${system}");
hash =
{
aarch64-linux = "sha256-LNca4h4yceSgve9GYUoXqlODKPjLAa71kh1BWXqRYtk=";
x86_64-linux = "sha256-bRFIfaVbsU2WroXR/i0E7J4rWeaNEoum93r8qOMXXvc=";
}
.${system} or (throw "No hash for system: ${system}");
};

nativeBuildInputs = [
Expand All @@ -58,7 +64,10 @@ in buildBazelPackage rec {
description = "Bazel/Build Analysis and Navigation Tool";
homepage = "http://bant.build/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ hzeller lromor ];
maintainers = with maintainers; [
hzeller
lromor
];
platforms = platforms.linux;
};
}

0 comments on commit 18536bf

Please sign in to comment.