mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
695 B
Nix
26 lines
695 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=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
|
|
|
|
buildInputs = lib.optionals stdenv.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 ];
|
|
};
|
|
}
|