nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 2cacfa92ea9b884131cc8bf975c7381542b1f42a
parent 3a712095b143e5c2e922469df689cc332d09ebf7
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri,  2 Jul 2021 22:15:31 +0300

Add telescope

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/telescope/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -178,6 +178,7 @@ lib.makeScope newScope ( md2gemini = callPackage ./gemini/md2gemini { }; satellite = callPackage ./gemini/satellite { }; shavit = callPackage ./gemini/shavit { }; + telescope = callPackage ./gemini/telescope { }; ### GIS diff --git a/pkgs/gemini/telescope/default.nix b/pkgs/gemini/telescope/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, yacc, ncurses, libressl, libevent }: + +stdenv.mkDerivation rec { + pname = "telescope"; + version = "0.3"; + + src = fetchFromGitHub { + owner = "omar-polo"; + repo = pname; + rev = version; + hash = "sha256-BssB2cZx4rEutgk+P0HCd6eQ8gzKDVIl2JA4B4kw5XI="; + }; + + nativeBuildInputs = [ autoreconfHook yacc ]; + + buildInputs = [ ncurses libressl libevent ]; + + meta = with lib; { + description = "Telescope is a w3m-like browser for Gemini"; + homepage = "https://telescope.omarpolo.com/"; + license = licenses.isc; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}