Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
855 B
Nix
43 lines
855 B
Nix
{
|
|
lib,
|
|
less,
|
|
ncurses,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
makeWrapper,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "circumflex";
|
|
version = "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bensadeh";
|
|
repo = "circumflex";
|
|
tag = version;
|
|
hash = "sha256-qponQtfpAXQxpAhkXaylgzpsvbccTIz9kmhdI4tPuNQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-HTrV2zK4i5gN2msIl0KTwjdmEDLjFz5fMCig1YPIC1A=";
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/clx \
|
|
--prefix PATH : ${
|
|
lib.makeBinPath [
|
|
less
|
|
ncurses
|
|
]
|
|
}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Command line tool for browsing Hacker News in your terminal";
|
|
homepage = "https://github.com/bensadeh/circumflex";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ mktip ];
|
|
mainProgram = "clx";
|
|
};
|
|
}
|