Merge pull request #196149 from mktip/circumflex

main
Sandro 2 years ago committed by GitHub
commit 715648d2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      maintainers/maintainer-list.nix
  2. 30
      pkgs/applications/networking/circumflex/default.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -9078,6 +9078,15 @@
fingerprint = "E90C BA34 55B3 6236 740C 038F 0D94 8CE1 9CF4 9C5F";
}];
};
mktip = {
email = "mo.issa.ok+nix@gmail.com";
github = "mktip";
githubId = 45905717;
name = "Mohammad Issa";
keys = [{
fingerprint = "64BE BF11 96C3 DD7A 443E 8314 1DC0 82FA DE5B A863";
}];
};
mlieberman85 = {
email = "mlieberman85@gmail.com";
github = "mlieberman85";

@ -0,0 +1,30 @@
{ 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;
maintainers = with maintainers; [ mktip ];
mainProgram = "clx";
};
}

@ -324,6 +324,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