Commit ab2f911e95c5
Changed files (4)
pkgs
lazypr
pkgs/lazypr/default.nix
@@ -0,0 +1,38 @@
+{
+ buildGoModule,
+ lib,
+ makeWrapper,
+ gh,
+ fetchFromGitHub,
+}:
+
+buildGoModule rec {
+ pname = "lazypr";
+ version = "0.1.0";
+
+ src = fetchFromGitHub {
+ owner = "vdemeester";
+ repo = "x";
+ rev = "8919a56c0b24d89718d059cca152a8b597c67483";
+ hash = "sha256-pYHXjm4KxFtx7tMHAbOyINemdYZKD2odmCdwniz2gwA=";
+ };
+
+ vendorHash = "sha256-pEDRedENgfouTd9Mr58l5xRjMmW7MFzV1BQDP7+emYI=";
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ subPackages = [ "cmd/lazypr" ];
+
+ postInstall = ''
+ wrapProgram $out/bin/lazypr \
+ --prefix PATH : ${lib.makeBinPath [ gh ]}
+ '';
+
+ meta = {
+ description = "TUI for viewing GitHub pull requests";
+ homepage = "https://github.com/vdemeester/x";
+ license = lib.licenses.mit;
+ platforms = lib.platforms.unix;
+ mainProgram = "lazypr";
+ };
+}
pkgs/default.nix
@@ -24,6 +24,7 @@ in
batzconverter = pkgs.callPackage ./batzconverter { };
manifest-tool = pkgs.callPackage ./manifest-tool { };
gh-pr = pkgs.callPackage ./gh-pr { };
+ lazypr = pkgs.callPackage ./lazypr { };
arr = pkgs.callPackage ../tools/arr { };
download-kiwix-zim = pkgs.callPackage ../tools/download-kiwix-zim { };
cliphist-cleanup = pkgs.callPackage ./cliphist-cleanup { };
systems/aomi/home.nix
@@ -17,6 +17,7 @@
go-org-readwise
gh-pr
+ lazypr
claude-hooks
lazygit
systems/kyushu/home.nix
@@ -70,6 +70,7 @@ in
go-org-readwise
gh-pr
+ lazypr
arr
claude-hooks
toggle-color-scheme