depot/third_party/nixpkgs/pkgs/development/tools/spr/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

27 lines
640 B
Nix

{ lib
, rustPlatform
, fetchCrate
, Security
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "spr";
version = "1.3.2";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-6IPNA1Ivj3o+X733a8Kxh1STODS5lLZaK4lh0lxU4bo=";
};
cargoSha256 = "sha256-m/mHOiuaFJtiuyFr2Z3ovk/Q06vxwvUBAiz0rF4R3kU=";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";
homepage = "https://github.com/getcord/spr";
license = licenses.mit;
maintainers = with maintainers; [ sven-of-cord ];
};
}