2022-03-10 19:12:11 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rebazel";
|
|
|
|
version = "0.1.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "meetup";
|
|
|
|
repo = "rebazel";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-v84ZXhtJpejQmP61NmP06+qrtMu/0yb7UyD7U12xlME=";
|
|
|
|
};
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
cargoSha256 = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "tool for expediting bazel build workflows";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rebazel";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/meetup/rebazel";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|