jetbrains.plugins: fix adding JAR plugins (#321247)
[NixPkgs.git] / pkgs / development / tools / rebazel / default.nix
blob4b9549b8a58afcfcd26a9672da1a692e90ebeb9a
1 { lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
3 rustPlatform.buildRustPackage rec {
4   pname = "rebazel";
5   version = "0.1.4";
7   src = fetchFromGitHub {
8     owner = "meetup";
9     repo = "rebazel";
10     rev = "v${version}";
11     hash = "sha256-v84ZXhtJpejQmP61NmP06+qrtMu/0yb7UyD7U12xlME=";
12   };
14   cargoHash = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
16   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
18   meta = with lib; {
19     description = "tool for expediting bazel build workflows";
20     mainProgram = "rebazel";
21     homepage = "https://github.com/meetup/rebazel";
22     license = licenses.mit;
23     maintainers = with maintainers; [ zimbatm ];
24   };