Add cabal chat cli (#346496)

This commit is contained in:
Ramses 2024-10-19 01:50:52 +02:00 committed by GitHub
commit bd19706a84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

View File

@ -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";

View File

@ -0,0 +1,33 @@
{
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 ];
};
}