tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
reader: using `finalAttrs`
Théo Bori
5 months ago
f0e742f3
44db9c3a
+18
-21
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
re
reader
package.nix
+18
-21
pkgs/by-name/re/reader/package.nix
···
3
fetchFromGitHub,
4
buildGoModule,
5
}:
6
-
let
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
};
29
-
in
30
-
self
···
3
fetchFromGitHub,
4
buildGoModule,
5
}:
6
+
buildGoModule (finalAttrs: {
7
+
pname = "reader";
8
+
version = "0.5.0";
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";
0
26
};
27
+
})
0