diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b7d4eabca382..1115935011ca 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12447,6 +12447,12 @@ githubId = 1040871; name = "Mathis Antony"; }; + sven-of-cord = { + email = "sven@cord.com"; + github = "sven-of-cord"; + githubId = 98333944; + name = "Sven Over"; + }; svend = { email = "svend@svends.net"; github = "svend"; diff --git a/pkgs/development/tools/spr/default.nix b/pkgs/development/tools/spr/default.nix new file mode 100644 index 000000000000..c19bf5b174ba --- /dev/null +++ b/pkgs/development/tools/spr/default.nix @@ -0,0 +1,27 @@ +{ lib +, rustPlatform +, fetchCrate +, Security +, stdenv +}: + +rustPlatform.buildRustPackage rec { + pname = "spr"; + version = "1.3.2"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-6IPNA1Ivj3o+X733a8Kxh1STODS5lLZaK4lh0lxU4bo="; + }; + + cargoSha256 = "sha256-m/mHOiuaFJtiuyFr2Z3ovk/Q06vxwvUBAiz0rF4R3kU="; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85ea5f11dffc..884f7da0d6ec 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16350,6 +16350,10 @@ with pkgs; spooles = callPackage ../development/libraries/science/math/spooles {}; + spr = callPackage ../development/tools/spr { + inherit (darwin.apple_sdk.frameworks) Security; + }; + spruce = callPackage ../development/tools/misc/spruce {}; sqlc = callPackage ../development/tools/database/sqlc { };