mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Add cabal chat cli (#346496)
This commit is contained in:
commit
bd19706a84
@ -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
pkgs/by-name/ca/cabal-cli/package.nix
Normal file
33
pkgs/by-name/ca/cabal-cli/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user