Unverified Commit 18536bf0 authored by Fabián Heredia Montiel's avatar Fabián Heredia Montiel Committed by GitHub
Browse files

bant: 0.1.7 fix changed hash of fixed derivation. (#350381)

parents f5876b31 062011c5
Loading
Loading
Loading
Loading
+16 −7
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@ let
    rev = "40bc9ad53e5a59d596935839e7c072679e706266";
    hash = "sha256-CL0YMQd1ck6/dlvJCLxt9jYyqDuk+iAWfdBOMj864u8=";
  };
in buildBazelPackage rec {
in
buildBazelPackage rec {
  pname = "bant";
  version = "0.1.7";

@@ -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 = [
@@ -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;
  };
}