Skip to content

Commit bebc8a3

Browse files
gitnapped: init at 0.1.4 (#478276)
2 parents d59d8ff + 4935c49 commit bebc8a3

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18730,6 +18730,20 @@
1873018730
githubId = 115494;
1873118731
name = "Nick Lewis";
1873218732
};
18733+
nicknb = {
18734+
name = "nicknb";
18735+
email = "[email protected]";
18736+
github = "fk29g";
18737+
githubId = 205353326;
18738+
keys = [
18739+
{
18740+
fingerprint = "8FF0 1BEE BCBF 1D20 ECD3 5FFA D903 84C8 07BC 1FE6";
18741+
}
18742+
{
18743+
fingerprint = "6F9B 47B6 FFB0 823D 2ACF 9ED8 2BF0 FBB4 05AD 6A7C";
18744+
}
18745+
];
18746+
};
1873318747
nicknovitski = {
1873418748
email = "[email protected]";
1873518749
github = "nicknovitski";
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
rustPlatform,
5+
makeBinaryWrapper,
6+
git,
7+
}:
8+
9+
let
10+
wrapperPath = lib.makeBinPath [
11+
git
12+
];
13+
in
14+
rustPlatform.buildRustPackage (finalAttrs: {
15+
pname = "gitnapped";
16+
version = "0.1.4";
17+
18+
src = fetchFromGitHub {
19+
owner = "Solexma";
20+
repo = "gitnapped";
21+
tag = "v${finalAttrs.version}";
22+
hash = "sha256-DkKei7PnQnF+0odsPwJJ/pwO/yqdZGRrJQcdIMQ/3uI=";
23+
};
24+
25+
cargoHash = "sha256-AIYDgjDYOwIi6KK5GzMF5UWYe9h7mGNONdwtlNygod4=";
26+
27+
nativeBuildInputs = [ makeBinaryWrapper ];
28+
29+
postInstall = ''
30+
wrapProgram $out/bin/gitnapped \
31+
--prefix PATH : ${wrapperPath}
32+
'';
33+
34+
meta = {
35+
description = "Git commit timeline analyzer";
36+
homepage = "https://site.gitnapped.dev";
37+
maintainers = with lib.maintainers; [
38+
nicknb
39+
];
40+
mainProgram = "gitnapped";
41+
license = lib.licenses.agpl3Only;
42+
platforms = lib.platforms.unix;
43+
};
44+
})

0 commit comments

Comments
 (0)