Skip to content

Commit fd33196

Browse files
committed
telescope: modernize
1 parent 4a9ddcc commit fd33196

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkgs/by-name/te/telescope/package.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
buildPackages,
1313
}:
1414

15-
stdenv.mkDerivation rec {
15+
stdenv.mkDerivation (finalAttrs: {
1616
pname = "telescope";
1717
version = "0.11";
1818

1919
src = fetchFromGitHub {
2020
owner = "omar-polo";
2121
repo = "telescope";
22-
rev = version;
22+
tag = finalAttrs.version;
2323
hash = "sha256-GKeUXa4RKYkoywrCrpenfLt10Rdj9L0xYI3tf2hFAbk=";
2424
};
2525

@@ -45,11 +45,11 @@ stdenv.mkDerivation rec {
4545
"HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc"
4646
];
4747

48-
meta = with lib; {
48+
meta = {
4949
description = "Telescope is a w3m-like browser for Gemini";
50-
homepage = "https://www.telescope-browser.org/";
51-
license = licenses.isc;
52-
maintainers = with maintainers; [ heph2 ];
53-
platforms = platforms.unix;
50+
homepage = "https://telescope-browser.org/";
51+
license = lib.licenses.isc;
52+
maintainers = with lib.maintainers; [ heph2 ];
53+
platforms = lib.platforms.unix;
5454
};
55-
}
55+
})

0 commit comments

Comments
 (0)