Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lib,
|
|
nix-update-script,
|
|
callPackage,
|
|
}:
|
|
buildGoModule (finalAttrs: {
|
|
pname = "reddit-tui";
|
|
version = "0.3.9";
|
|
src = fetchFromGitHub {
|
|
owner = "tonymajestro";
|
|
repo = "reddit-tui";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-dqmxY3AkJ03/zbn+6irh43luUrGaVQ/5lGzl5jeUNDE=";
|
|
};
|
|
vendorHash = "sha256-Yqo80adzA9gtSD3qzM+fObzRt3WbcMATQef0g7/z2Dw=";
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
changelog = "https://github.com/tonymajestro/reddit-tui/releases/tag/${finalAttrs.src.tag}";
|
|
homepage = "https://github.com/tonymajestro/reddit-tui";
|
|
description = "Terminal UI for reddit";
|
|
longDescription = ''
|
|
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.
|
|
See [the Docs](https://github.com/tonymajestro/reddit-tui#configuration-files) on how to do that.
|
|
'';
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.LazilyStableProton ];
|
|
mainProgram = "reddittui";
|
|
};
|
|
})
|