blob: 19183790b8ea2b6403b9a242334c58b26331b8ac (
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
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
oniguruma,
zlib,
}:
let
pname = "git-igitt";
version = "0.1.18";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "mlange-42";
repo = pname;
rev = version;
hash = "sha256-JXEWnekL9Mtw0S3rI5aeO1HB9kJ7bRJDJ6EJ4ATlFeQ=";
};
cargoHash = "sha256-5UgcgM/WuyApNFCd8YBodx9crJP3+Bygu9nSBJqPCaQ=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libgit2
oniguruma
zlib
];
env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};
meta = {
description = "Interactive, cross-platform Git terminal application with clear git graphs arranged for your branching model";
homepage = "https://github.com/mlange-42/git-igitt";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.pinage404 ];
mainProgram = "git-igitt";
};
}
|