diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7e4712d037a..426ffbe7666 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.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"; diff --git a/pkgs/applications/networking/circumflex/default.nix b/pkgs/applications/networking/circumflex/default.nix new file mode 100644 index 00000000000..71fe5b97b8b --- /dev/null +++ b/pkgs/applications/networking/circumflex/default.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index da243af1892..d1ba3f999d0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };