2021-03-22 13:38:32 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig, curl, libev, sqlite }:
|
2020-12-21 10:50:50 +00:00
|
|
|
|
|
|
|
let
|
2021-12-08 12:14:34 +00:00
|
|
|
curlWithGnuTLS = curl.override { gnutlsSupport = true; opensslSupport = false; };
|
2020-12-21 10:50:50 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clboss";
|
2022-05-30 19:09:55 +00:00
|
|
|
version = "0.13A";
|
2020-12-21 10:50:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-11 12:39:08 +00:00
|
|
|
url = "https://github.com/ZmnSCPxj/clboss/releases/download/${version}/clboss-${version}.tar.gz";
|
2022-05-30 19:09:55 +00:00
|
|
|
hash = "sha256-LTDJrm9Mk4j7Z++tKJKawEurgF1TnYuIoj+APbDHll4=";
|
2020-12-21 10:50:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig libev curlWithGnuTLS sqlite ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-03-22 13:38:32 +00:00
|
|
|
meta = with lib; {
|
2020-12-21 10:50:50 +00:00
|
|
|
description = "Automated C-Lightning Node Manager";
|
|
|
|
homepage = "https://github.com/ZmnSCPxj/clboss";
|
|
|
|
license = licenses.mit;
|
2021-12-14 18:51:23 +00:00
|
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
2020-12-21 10:50:50 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|