clboss: add pkg

This commit is contained in:
nixbitcoin 2020-12-21 10:50:50 +00:00
parent 7b32a78de2
commit 9423eadcee
No known key found for this signature in database
GPG Key ID: DD11F9AD5308B3BA
2 changed files with 27 additions and 0 deletions

26
pkgs/clboss/default.nix Normal file
View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, pkgconfig, curl, libev, sqlite }:
let
curlWithGnuTLS = curl.override { gnutlsSupport = true; sslSupport = false; };
in
stdenv.mkDerivation rec {
pname = "clboss";
version = "0.10";
src = fetchurl {
url = "https://github.com/ZmnSCPxj/clboss/releases/download/v${version}/clboss-${version}.tar.gz";
sha256 = "1bmlpfhsjs046qx2ikln15rj4kal32752zs1s5yjklsq9xwnbciz";
};
nativeBuildInputs = [ pkgconfig libev curlWithGnuTLS sqlite ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Automated C-Lightning Node Manager";
homepage = "https://github.com/ZmnSCPxj/clboss";
maintainers = with maintainers; [ nixbitcoin ];
license = licenses.mit;
platforms = platforms.linux;
};
}

View File

@ -14,6 +14,7 @@ let self = {
lightning-loop = pkgs.callPackage ./lightning-loop { }; lightning-loop = pkgs.callPackage ./lightning-loop { };
extra-container = pkgs.callPackage ./extra-container { }; extra-container = pkgs.callPackage ./extra-container { };
clightning-plugins = import ./clightning-plugins pkgs self.nbPython3Packages; clightning-plugins = import ./clightning-plugins pkgs self.nbPython3Packages;
clboss = pkgs.callPackage ./clboss { };
nbPython3Packages = (pkgs.python3.override { nbPython3Packages = (pkgs.python3.override {
packageOverrides = pySelf: super: import ./python-packages self pySelf; packageOverrides = pySelf: super: import ./python-packages self pySelf;