nur-packages

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

default.nix (780B)


      1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, yacc, ncurses, libressl, libevent }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "telescope";
      5   version = "0.5.1";
      6 
      7   src = fetchFromGitHub {
      8     owner = "omar-polo";
      9     repo = pname;
     10     rev = version;
     11     hash = "sha256-CApZn0AxpjgzC4XTkjF3YBOX5ifYH4PDtqk+sU5OoDU=";
     12   };
     13 
     14   nativeBuildInputs = [ autoreconfHook pkg-config yacc ];
     15 
     16   buildInputs = [ ncurses libressl libevent ];
     17 
     18   meta = with lib; {
     19     description = "Telescope is a w3m-like browser for Gemini";
     20     homepage = "https://telescope.omarpolo.com/";
     21     license = licenses.isc;
     22     maintainers = [ maintainers.sikmir ];
     23     platforms = platforms.unix;
     24     broken = stdenv.isDarwin; # explicit_bzero() compatibility function symbol exported in libressl
     25   };
     26 }