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