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