Unverified Commit 5aac695c authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

reddit-tui: init at 0.3.4 (#397162)

parents 8ee81a2b 1d11c31b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -13445,6 +13445,12 @@
    githubId = 632767;
    name = "Guillaume Maudoux";
  };
  LazilyStableProton = {
    email = "LazilyStable@proton.me";
    github = "LazyStability";
    githubId = 120277625;
    name = "LazilyStableProton";
  };
  lblasc = {
    email = "lblasc@znode.net";
    github = "lblasc";
+34 −0
Original line number Diff line number Diff line
{
  buildGoModule,
  fetchFromGitHub,
  lib,
  nix-update-script,
  callPackage,
}:
buildGoModule (finalAttrs: {
  pname = "reddit-tui";
  version = "0.3.4";
  src = fetchFromGitHub {
    owner = "tonymajestro";
    repo = "reddit-tui";
    tag = "v${finalAttrs.version}";
    hash = "sha256-FlGprSbt1/jTRe2p/aXt5f5aZAxnQlb6M70wvUdE9qk=";
  };
  vendorHash = "sha256-H2ukIIi30b8kGOjESXJGv/VW5pPgfxG2c3H6S4jRAA4=";
  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";
  };
})