1 { lib, rustPlatform, fetchFromGitHub
2 , pkg-config, openssl, zlib, curl, libgit2, libssh2
5 rustPlatform.buildRustPackage rec {
7 version = "unstable-2019-10-15";
9 src = fetchFromGitHub {
12 rev = "c570a015e15214be46a7fd06ba08526622738e20";
13 sha256 = "1i0m2b7ma6xvkg95k57gaj1wpc1rfvka6h8jr5hglxmqqbz6cb6w";
16 cargoSha256 = "1hmx14z3098c98achgii0jkcm4474iw762rmib77amcsxj73zzdh";
18 nativeBuildInputs = [ pkg-config ];
19 buildInputs = [ openssl zlib curl libgit2 libssh2 ];
21 LIBGIT2_SYS_USE_PKG_CONFIG = true;
22 LIBSSH2_SYS_USE_PKG_CONFIG = true;
25 install -D "$src/git-series.1" "$out/man/man1/git-series.1"
29 description = "A tool to help with formatting git patches for review on mailing lists";
31 git series tracks changes to a patch series over time. git
32 series also tracks a cover letter for the patch series,
33 formats the series for email, and prepares pull requests.
35 homepage = "https://github.com/git-series/git-series";
37 license = licenses.mit;
38 maintainers = with maintainers; [ edef vmandela ];