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