depot/third_party/nixpkgs/pkgs/by-name/gi/git-igitt/package.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

46 lines
901 B
Nix

{
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";
};
}