depot/third_party/nixpkgs/pkgs/development/tools/rebazel/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

25 lines
706 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "rebazel";
version = "0.1.4";
src = fetchFromGitHub {
owner = "meetup";
repo = "rebazel";
rev = "v${version}";
hash = "sha256-v84ZXhtJpejQmP61NmP06+qrtMu/0yb7UyD7U12xlME=";
};
cargoHash = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
meta = with lib; {
description = "tool for expediting bazel build workflows";
mainProgram = "rebazel";
homepage = "https://github.com/meetup/rebazel";
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
}