Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "rebazel"; 5 version = "0.1.4"; 6 7 src = fetchFromGitHub { 8 owner = "meetup"; 9 repo = "rebazel"; 10 rev = "v${version}"; 11 hash = "sha256-v84ZXhtJpejQmP61NmP06+qrtMu/0yb7UyD7U12xlME="; 12 }; 13 14 cargoSha256 = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM="; 15 16 buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 17 18 meta = with lib; { 19 description = "tool for expediting bazel build workflows"; 20 homepage = "https://github.com/meetup/rebazel"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ zimbatm ]; 23 }; 24}