forked from mirrors/nixpkgs
48 lines
854 B
Nix
48 lines
854 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, bison
|
|
, libevent
|
|
, libressl
|
|
, ncurses
|
|
, autoreconfHook
|
|
, buildPackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "telescope";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "omar-polo";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-W42e1p70dMhF9C7BBPp1Yhp2PrRb8/Lu07yOGiUSmNg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
bison
|
|
];
|
|
|
|
buildInputs = [
|
|
libevent
|
|
libressl
|
|
ncurses
|
|
];
|
|
|
|
configureFlags = [
|
|
"HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc"
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|