2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
, Security
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "spr";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "1.3.3";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-ozirfRyJWgs5+CWZrXkIHzlNQcUOEAuX/XV+VrUnJC8=";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
cargoSha256 = "sha256-Khua8g/vk0KTBmca37VhiBSHvfi8tKVhqxDYeJ594Qg=";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|