Files
nixpkgs/pkgs/by-name/gm/gmap/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.3 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
sqlite,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gmap";
version = "0.3.3";
src = fetchFromGitHub {
owner = "seeyebe";
repo = "gmap";
tag = finalAttrs.version;
hash = "sha256-+klVySOgI/M57f98Cx3omkEBx/NcaWD4FuIW6cz1aN8=";
};
cargoHash = "sha256-WjYCwGyFjBjITqsMPsD4kkeuSGPXtSKOFKaEfznMryI=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ sqlite ];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Command-line tool for visualizing Git activity";
longDescription = ''
gmap helps you understand your Git repository at a glance not
just what changed, but when, how much, and by whom. Visualize
commit activity over time, spot churn-heavy files, explore
contributor dynamics, and more all from your terminal.
Built for developers who live in the CLI and want quick,
powerful insights.
'';
homepage = "https://github.com/seeyebe/gmap";
changelog = "https://github.com/seeyebe/gmap/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "gmap";
};
})