1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5}:
6let
7 self = buildGoModule {
8 pname = "reader";
9 version = "0.5.0";
10
11 src = fetchFromGitHub {
12 owner = "mrusme";
13 repo = "reader";
14 tag = "v${self.version}";
15 hash = "sha256-qu48ikqm4EmoeL9j67tGkX3EFBd1JdrLWhhmoElCoJY=";
16 };
17
18 vendorHash = "sha256-8IjN7hm5Rg9ItkxE9pbnkVr5t+tG95W9vvXyGaWmEIA=";
19
20 meta = {
21 description = "Lightweight tool offering better readability of web pages on the CLI";
22 homepage = "https://github.com/mrusme/reader";
23 changelog = "https://github.com/mrusme/reader/releases";
24 license = lib.licenses.gpl3Plus;
25 maintainers = with lib.maintainers; [ theobori ];
26 mainProgram = "reader";
27 };
28 };
29in
30self