2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2024-02-29 20:09:43 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf-archive
|
|
|
|
, autoreconfHook
|
2022-06-16 17:23:12 +00:00
|
|
|
, pkg-config
|
|
|
|
, curlWithGnuTls
|
|
|
|
, libev
|
|
|
|
, sqlite
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clboss";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.13.1";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ZmnSCPxj";
|
|
|
|
repo = "clboss";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-DQvcf+y73QQYQanEvbOCOgwQzvNOXS1ZY+hVvS6N+G0=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Automated C-Lightning Node Manager";
|
|
|
|
homepage = "https://github.com/ZmnSCPxj/clboss";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ prusnak ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "clboss";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|