depot/third_party/nixpkgs/pkgs/development/tools/spr/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

27 lines
640 B
Nix

{ lib
, rustPlatform
, fetchCrate
, Security
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "spr";
version = "1.3.4";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-lsdWInJWcofwU3P4vAWcLQeZuV3Xn1z30B7mhODJ4Vc=";
};
cargoSha256 = "sha256-VQg3HDNw+L1FsFtHXnIw6dMVUxV63ZWHCxiknzsqXW8=";
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 ];
};
}