Skip to content

Commit 5aac695

Browse files
authored
reddit-tui: init at 0.3.4 (NixOS#397162)
2 parents 8ee81a2 + 1d11c31 commit 5aac695

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13445,6 +13445,12 @@
1344513445
githubId = 632767;
1344613446
name = "Guillaume Maudoux";
1344713447
};
13448+
LazilyStableProton = {
13449+
email = "[email protected]";
13450+
github = "LazyStability";
13451+
githubId = 120277625;
13452+
name = "LazilyStableProton";
13453+
};
1344813454
lblasc = {
1344913455
email = "[email protected]";
1345013456
github = "lblasc";
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
buildGoModule,
3+
fetchFromGitHub,
4+
lib,
5+
nix-update-script,
6+
callPackage,
7+
}:
8+
buildGoModule (finalAttrs: {
9+
pname = "reddit-tui";
10+
version = "0.3.4";
11+
src = fetchFromGitHub {
12+
owner = "tonymajestro";
13+
repo = "reddit-tui";
14+
tag = "v${finalAttrs.version}";
15+
hash = "sha256-FlGprSbt1/jTRe2p/aXt5f5aZAxnQlb6M70wvUdE9qk=";
16+
};
17+
vendorHash = "sha256-H2ukIIi30b8kGOjESXJGv/VW5pPgfxG2c3H6S4jRAA4=";
18+
doCheck = false;
19+
20+
passthru.updateScript = nix-update-script { };
21+
22+
meta = {
23+
changelog = "https://github.com/tonymajestro/reddit-tui/releases/tag/${finalAttrs.src.tag}";
24+
homepage = "https://github.com/tonymajestro/reddit-tui";
25+
description = "Terminal UI for reddit";
26+
longDescription = ''
27+
Due to suspected throttling by reddit, it might be necessary to use a [redlib backend](https://github.com/redlib-org/redlib) to enable this package to work.
28+
See [the Docs](https://github.com/tonymajestro/reddit-tui#configuration-files) on how to do that.
29+
'';
30+
license = lib.licenses.mit;
31+
maintainers = [ lib.maintainers.LazilyStableProton ];
32+
mainProgram = "reddittui";
33+
};
34+
})

0 commit comments

Comments
 (0)