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