depot/third_party/nixpkgs/pkgs/development/tools/spr/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

28 lines
661 B
Nix

{ lib
, rustPlatform
, fetchCrate
, Security
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "spr";
version = "1.3.4";
src = fetchCrate {
inherit pname version;
hash = "sha256-lsdWInJWcofwU3P4vAWcLQeZuV3Xn1z30B7mhODJ4Vc=";
};
cargoHash = "sha256-VQg3HDNw+L1FsFtHXnIw6dMVUxV63ZWHCxiknzsqXW8=";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";
mainProgram = "spr";
homepage = "https://github.com/getcord/spr";
license = licenses.mit;
maintainers = with maintainers; [ sven-of-cord ];
};
}