2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
, Security
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "spr";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.3.4";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-lsdWInJWcofwU3P4vAWcLQeZuV3Xn1z30B7mhODJ4Vc=";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-VQg3HDNw+L1FsFtHXnIw6dMVUxV63ZWHCxiknzsqXW8=";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "spr";
|
2022-06-26 10:26:21 +00:00
|
|
|
homepage = "https://github.com/getcord/spr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sven-of-cord ];
|
|
|
|
};
|
|
|
|
}
|