Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18723,6 +18723,20 @@
githubId = 115494;
name = "Nick Lewis";
};
nicknb = {
name = "nicknb";
email = "[email protected]";
github = "fk29g";
githubId = 205353326;
keys = [
{
fingerprint = "8FF0 1BEE BCBF 1D20 ECD3 5FFA D903 84C8 07BC 1FE6";
}
{
fingerprint = "6F9B 47B6 FFB0 823D 2ACF 9ED8 2BF0 FBB4 05AD 6A7C";
}
];
};
nicknovitski = {
email = "[email protected]";
github = "nicknovitski";
Expand Down
44 changes: 44 additions & 0 deletions pkgs/by-name/gi/gitnapped/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
lib,
fetchFromGitHub,
rustPlatform,
makeBinaryWrapper,
git,
}:

let
wrapperPath = lib.makeBinPath [
git
];
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gitnapped";
version = "0.1.4";

src = fetchFromGitHub {
owner = "Solexma";
repo = "gitnapped";
tag = "v${finalAttrs.version}";
hash = "sha256-DkKei7PnQnF+0odsPwJJ/pwO/yqdZGRrJQcdIMQ/3uI=";
};

cargoHash = "sha256-AIYDgjDYOwIi6KK5GzMF5UWYe9h7mGNONdwtlNygod4=";

nativeBuildInputs = [ makeBinaryWrapper ];

postInstall = ''
wrapProgram $out/bin/gitnapped \
--prefix PATH : ${wrapperPath}
'';

meta = {
description = "Git commit timeline analyzer";
homepage = "https://site.gitnapped.dev";
maintainers = with lib.maintainers; [
nicknb
];
mainProgram = "gitnapped";
license = lib.licenses.agpl3Only;
platforms = lib.platforms.unix;
};
})
Loading