2022-06-16 23:17:36 +02:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
, Security
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "spr";
|
2022-07-18 19:17:27 +02:00
|
|
|
version = "1.3.4";
|
2022-06-16 23:17:36 +02:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-07-18 19:17:27 +02:00
|
|
|
sha256 = "sha256-lsdWInJWcofwU3P4vAWcLQeZuV3Xn1z30B7mhODJ4Vc=";
|
2022-06-16 23:17:36 +02:00
|
|
|
};
|
|
|
|
|
2022-07-18 19:17:27 +02:00
|
|
|
cargoSha256 = "sha256-VQg3HDNw+L1FsFtHXnIw6dMVUxV63ZWHCxiknzsqXW8=";
|
2022-06-16 23:17:36 +02:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "spr";
|
2022-06-16 23:17:36 +02:00
|
|
|
homepage = "https://github.com/getcord/spr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sven-of-cord ];
|
|
|
|
};
|
|
|
|
}
|