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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
stdenv,
curl,
installShellFiles,
libgit2,
libssh2,
openssl,
zlib,
}:
rustPlatform.buildRustPackage {
pname = "git-series";
version = "0.9.1-unstable-2024-02-02";
src = fetchFromGitHub {
owner = "git-series";
repo = "git-series";
rev = "9c5d40edec87b79db0c5bac1458aa0e2c8fdeb8e";
hash = "sha256-DtOR7+vX7efNzYMRJwJTj5cXlFHQwzcS0Gp2feVdea4=";
};
cargoHash = "sha256-D83mfaH4iKagGjdX+YhCzva99+dCneHeWPNnkzZB/k0=";
nativeBuildInputs = [
pkg-config
installShellFiles
] ++ lib.optionals stdenv.isDarwin [ curl ];
buildInputs = [
libgit2
libssh2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [ curl ];
env = {
LIBGIT2_SYS_USE_PKG_CONFIG = true;
LIBSSH2_SYS_USE_PKG_CONFIG = true;
};
postInstall = ''
installManPage ./git-series.1
'';
meta = with lib; {
description = "Tool to help with formatting git patches for review on mailing lists";
longDescription = ''
git series tracks changes to a patch series over time. git
series also tracks a cover letter for the patch series,
formats the series for email, and prepares pull requests.
'';
homepage = "https://github.com/git-series/git-series";
license = licenses.mit;
maintainers = with maintainers; [
edef
vmandela
aleksana
];
mainProgram = "git-series";
};
}
|