Unverified Commit bd19706a authored by Ramses's avatar Ramses Committed by GitHub
Browse files

Add cabal chat cli (#346496)

parents 2c910a0e c3ea05da
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11495,6 +11495,12 @@
    githubId = 17219127;
    name = "kotatsuyaki";
  };
  kototama = {
    email = "kototama@posteo.net";
    github = "kototama";
    githubId = 128620;
    name = "Kototama";
  };
  kouyk = {
    email = "skykinetic@stevenkou.xyz";
    github = "kouyk";
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildNpmPackage,
  fetchFromGitHub,
}:

let
  version = "15.0.2";
  pname = "cabal-cli";
in
buildNpmPackage {
  inherit version pname;

  src = fetchFromGitHub {
    owner = "cabal-club";
    repo = "cabal-cli";
    rev = "v${version}";
    hash = "sha256-DZ+F+pgPc8WuiBhLgxNO5es5lA996fJdvZyg6QjfrHg=";
  };

  npmDepsHash = "sha256-Oqyx6pytDrYg1JbHawKxnnWEJxaFUaM9LcREizh3LFQ=";

  dontNpmBuild = true;

  env.NODE_OPTIONS = "--openssl-legacy-provider";

  meta = {
    description = "Terminal client for Cabal, the p2p chat platform";
    homepage = "https://cabal.chat";
    license = lib.licenses.agpl3Plus;
    maintainers = with lib.maintainers; [ kototama ];
  };
}