biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / networking / circumflex / default.nix
blob354bc383271ade08b2bcf557f2a12ce97fd6b97f
1 { lib, less, ncurses, buildGoModule, fetchFromGitHub, makeWrapper }:
3 buildGoModule rec {
4   pname = "circumflex";
5   version = "3.7";
7   src = fetchFromGitHub {
8     owner = "bensadeh";
9     repo = "circumflex";
10     rev = version;
11     hash = "sha256-jjtjOT8lFPsk300Q9EtsX/w8Bck0pwrS/GyouoBsZ+0=";
12   };
14   vendorHash = "sha256-Nlv8H5YqHrqACW2kEXg+mkc3bCgXVudrSNfyu+xeFBA=";
16   nativeBuildInputs = [ makeWrapper ];
18   postInstall = ''
19     wrapProgram $out/bin/clx \
20       --prefix PATH : ${lib.makeBinPath [ less ncurses ]}
21   '';
23   meta = with lib; {
24     description = "Command line tool for browsing Hacker News in your terminal";
25     homepage = "https://github.com/bensadeh/circumflex";
26     license = licenses.agpl3Only;
27     maintainers = with maintainers; [ mktip ];
28     mainProgram = "clx";
29   };