telescope: modernize

This commit is contained in:
Nikolay Korotkiy 2025-05-11 21:18:12 +04:00
parent 4a9ddcc498
commit fd33196b5d
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -12,14 +12,14 @@
buildPackages,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "telescope";
version = "0.11";
src = fetchFromGitHub {
owner = "omar-polo";
repo = "telescope";
rev = version;
tag = finalAttrs.version;
hash = "sha256-GKeUXa4RKYkoywrCrpenfLt10Rdj9L0xYI3tf2hFAbk=";
};
@ -45,11 +45,11 @@ stdenv.mkDerivation rec {
"HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc"
];
meta = with lib; {
meta = {
description = "Telescope is a w3m-like browser for Gemini";
homepage = "https://www.telescope-browser.org/";
license = licenses.isc;
maintainers = with maintainers; [ heph2 ];
platforms = platforms.unix;
homepage = "https://telescope-browser.org/";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ heph2 ];
platforms = lib.platforms.unix;
};
}
})