32 lines
689 B
Nix
32 lines
689 B
Nix
|
|
{
|
||
|
|
fetchCrate,
|
||
|
|
lib,
|
||
|
|
openssl,
|
||
|
|
pkg-config,
|
||
|
|
rustPlatform,
|
||
|
|
}:
|
||
|
|
|
||
|
|
rustPlatform.buildRustPackage rec {
|
||
|
|
pname = "spr";
|
||
|
|
version = "1.3.7";
|
||
|
|
|
||
|
|
src = fetchCrate {
|
||
|
|
inherit pname version;
|
||
|
|
hash = "sha256-YmmPxsDoV1sYmqY0Jfqm3xTPmu7WWuIUQyOaICu3stM=";
|
||
|
|
};
|
||
|
|
|
||
|
|
cargoHash = "sha256-cQsxRrs/pBe/xmqpp5vi1VRJo8jCAufYJrMigxs/tWY=";
|
||
|
|
|
||
|
|
nativeBuildInputs = [ pkg-config ];
|
||
|
|
|
||
|
|
buildInputs = [ openssl ];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";
|
||
|
|
mainProgram = "spr";
|
||
|
|
homepage = "https://github.com/spacedentist/spr";
|
||
|
|
license = licenses.mit;
|
||
|
|
maintainers = with maintainers; [ spacedentist ];
|
||
|
|
};
|
||
|
|
}
|