forked from mirrors/nixpkgs
circumflex: init at 2.6
This commit is contained in:
parent
e04579e7cd
commit
2122fc67ad
29
pkgs/applications/networking/circumflex/default.nix
Normal file
29
pkgs/applications/networking/circumflex/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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…
Reference in a new issue