3
0
Fork 0
forked from mirrors/nixpkgs

circumflex: init at 2.6

This commit is contained in:
Mohammad Kefah 2022-10-19 23:26:29 +03:00
parent e04579e7cd
commit 2122fc67ad
No known key found for this signature in database
GPG key ID: 1DC082FADE5BA863
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, less, ncurses, buildGoModule, fetchFromGitHub, makeWrapper }:
buildGoModule rec {
pname = "circumflex";
version = "2.6";
src = fetchFromGitHub {
owner = "bensadeh";
repo = "circumflex";
rev = version;
hash = "sha256-pcY2PXiOazKAi8mAAbmftXDae01fcUw/u9JPOHQVclI=";
};
vendorHash = "sha256-rF1Hu4Pf9AF2MTx4GAPmzSn0M38uTxPS1bsAkO23SdI=";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/clx \
--prefix PATH : ${lib.makeBinPath [ less ncurses ]}
'';
meta = with lib; {
description = "A command line tool for browsing Hacker News in your terminal";
homepage = "https://github.com/bensadeh/circumflex";
license = licenses.agpl3;
mainProgram = "clx";
};
}

View file

@ -322,6 +322,8 @@ with pkgs;
cfn-nag = callPackage ../development/tools/cfn-nag { };
circumflex = callPackage ../applications/networking/circumflex { };
cxx-rs = callPackage ../development/libraries/cxx-rs { };
elfcat = callPackage ../tools/misc/elfcat { };