circumflex: init at 2.6

main
Mohammad Kefah 2 years ago
parent e04579e7cd
commit 2122fc67ad
No known key found for this signature in database
GPG Key ID: 1DC082FADE5BA863
  1. 29
      pkgs/applications/networking/circumflex/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -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";
};
}

@ -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 { };

Loading…
Cancel
Save