1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5 pkg-config,
6 dbus,
7 openssl,
8}:
9
10rustPlatform.buildRustPackage rec {
11 pname = "git-ps-rs";
12 version = "7.3.1";
13
14 src = fetchFromGitHub {
15 owner = "uptech";
16 repo = "git-ps-rs";
17 rev = version;
18 hash = "sha256-4lk6AHquWKgDk0pBaswbVShZbUDA3wO6cPakhrvrwac=";
19 };
20
21 cargoHash = "sha256-QYkEBqDwspdhSliwLwMWmybS9nd41DCjGNURnMzLzBM=";
22
23 nativeBuildInputs = [ pkg-config ];
24
25 buildInputs = [
26 openssl
27 dbus
28 ];
29
30 meta = with lib; {
31 description = "Tool for working with a stack of patches";
32 mainProgram = "gps";
33 homepage = "https://git-ps.sh/";
34 license = licenses.mit;
35 maintainers = with maintainers; [ alizter ];
36 };
37}