summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/telescope/default.nix
blob: fa9b3853a9d140d40c988fd6a0bd0a7e6416a2df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ stdenv
, lib
, fetchurl
, pkg-config
, bison
, libevent
, libressl
, ncurses
}:

stdenv.mkDerivation rec {
  pname = "telescope";
  version = "0.3.1";

  src = fetchurl {
    url = "https://github.com/omar-polo/telescope/releases/download/${version}/telescope-${version}.tar.gz";
    sha256 = "11xrsh064ph1idhygh52y4mqapgwn1cqr0l3naj5n2a2p7lcsvvw";
  };

  nativeBuildInputs = [
    pkg-config
    bison
  ];

  buildInputs = [
    libevent
    libressl
    ncurses
  ];

  meta = with lib; {
    description = "Telescope is a w3m-like browser for Gemini";
    homepage = "https://telescope.omarpolo.com/";
    license = licenses.isc;
    maintainers = with maintainers; [ heph2 ];
    platforms = platforms.unix;
  };
}