nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchCrate,
3 lib,
4 openssl,
5 pkg-config,
6 rustPlatform,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "spr";
11 version = "1.3.7";
12
13 src = fetchCrate {
14 inherit pname version;
15 hash = "sha256-YmmPxsDoV1sYmqY0Jfqm3xTPmu7WWuIUQyOaICu3stM=";
16 };
17
18 cargoHash = "sha256-cQsxRrs/pBe/xmqpp5vi1VRJo8jCAufYJrMigxs/tWY=";
19
20 nativeBuildInputs = [ pkg-config ];
21
22 buildInputs = [ openssl ];
23
24 meta = {
25 description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";
26 mainProgram = "spr";
27 homepage = "https://github.com/spacedentist/spr";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ spacedentist ];
30 };
31}