File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed
pkgs/by-name/gi/gitnapped Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1873018730 githubId = 115494;
1873118731 name = "Nick Lewis";
1873218732 };
18733+ nicknb = {
18734+ name = "nicknb";
18735+ 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 = {
18734187481873518749 github = "nicknovitski";
Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments