-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the `gps` packaged as `git-ps-rs` for managing patch stacks. <!-- ps-id: cbcdb8e6-64d3-4181-9f25-90047248efc3 --> Signed-off-by: Ali Caglayan <alizter@gmail.com>
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ lib | ||
, fetchFromGitHub | ||
, rustPlatform | ||
, stdenv | ||
, pkg-config | ||
, libgpg-error | ||
, gpgme | ||
, dbus | ||
, openssl | ||
, Security | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "git-ps-rs"; | ||
version = "6.5.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "uptech"; | ||
repo = "git-ps-rs"; | ||
rev = version; | ||
hash = "sha256-4wSm3H+98ZJZ+fZdLYshPKafRkPq98Pv3Lwh9o0be6U="; | ||
}; | ||
|
||
cargoHash = "sha256-1p46xvo7abMPlVP8BeQ1j/8QQpK3kCgbTL3cdidfq04="; | ||
|
||
nativeBuildInputs = [ | ||
pkg-config | ||
gpgme # gpgme runs a small script at build time so has to go here | ||
]; | ||
|
||
buildInputs = [ openssl dbus libgpg-error ] | ||
++ lib.optionals stdenv.isDarwin [ Security ]; | ||
|
||
meta = with lib; { | ||
description = "Tool for working with a stack of patches"; | ||
homepage = "https://git-ps.sh/"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ alizter ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters