Files
nixpkgs/pkgs/by-name/ba/bazel-remote/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

40 lines
852 B
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "bazel-remote";
version = "2.6.1";
src = fetchFromGitHub {
owner = "buchgr";
repo = "bazel-remote";
rev = "v${version}";
hash = "sha256-9vPaTm/HTJ3ftlFg+AkcwXX7xyhmGTgKL3PXhtUHRDk=";
};
vendorHash = "sha256-uh8ST1AQ8OsFMfXly23TMMcheNmhb1MknmPMjB76GIQ=";
subPackages = [ "." ];
doCheck = false;
ldflags = [
"-s"
"-w"
"-X main.gitCommit=${version}"
];
meta = {
homepage = "https://github.com/buchgr/bazel-remote";
description = "Remote HTTP/1.1 cache for Bazel";
mainProgram = "bazel-remote";
changelog = "https://github.com/buchgr/bazel-remote/releases/tag/v${version}";
license = lib.licenses.asl20;
teams = [ lib.teams.bazel ];
platforms = lib.platforms.darwin ++ lib.platforms.linux;
};
}