3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/telescope/default.nix

48 lines
854 B
Nix
Raw Normal View History

2021-07-19 11:54:10 +01:00
{ stdenv
, lib
2021-09-04 10:14:35 +01:00
, fetchFromGitHub
2021-07-19 11:54:10 +01:00
, pkg-config
, bison
, libevent
, libressl
, ncurses
2021-09-04 10:14:35 +01:00
, autoreconfHook
2021-11-29 17:04:49 +00:00
, buildPackages
2021-07-19 11:54:10 +01:00
}:
stdenv.mkDerivation rec {
pname = "telescope";
2022-01-15 13:00:33 +00:00
version = "0.7.1";
2021-07-19 11:54:10 +01:00
2021-09-04 10:14:35 +01:00
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
2022-01-15 13:00:33 +00:00
sha256 = "sha256-W42e1p70dMhF9C7BBPp1Yhp2PrRb8/Lu07yOGiUSmNg=";
2021-07-19 11:54:10 +01:00
};
nativeBuildInputs = [
2021-09-04 10:14:35 +01:00
autoreconfHook
2021-07-19 11:54:10 +01:00
pkg-config
bison
];
buildInputs = [
libevent
libressl
ncurses
];
2021-11-29 17:04:49 +00:00
configureFlags = [
"HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc"
];
2021-07-19 11:54:10 +01:00
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;
};
}