Merge pull request #330652 from pinage404/git-igitt-init

git-igitt: init at 0.1.18
This commit is contained in:
Matthias Beyer
2024-07-28 17:09:28 +02:00
committed by GitHub
2 changed files with 52 additions and 0 deletions
+6
View File
@@ -15953,6 +15953,12 @@
githubId = 34967;
name = "Julius de Bruijn";
};
pinage404 = {
email = "pinage404+nixpkgs@gmail.com";
github = "pinage404";
githubId = 6325757;
name = "pinage404";
};
pineapplehunter = {
email = "peshogo+nixpkgs@gmail.com";
github = "pineapplehunter";
+46
View File
@@ -0,0 +1,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";
};
}