nix-bitcoin/pkgs/clboss/default.nix

37 lines
920 B
Nix
Raw Normal View History

2023-11-11 00:34:35 +03:00
{ lib, stdenv, fetchFromGitHub, autoconf-archive, autoreconfHook, pkg-config, 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";
2024-05-05 18:12:33 +03:00
version = "0.13.1";
2020-12-21 13:50:50 +03:00
2023-09-09 15:16:30 +03:00
src = fetchFromGitHub {
owner = "ZmnSCPxj";
repo = "clboss";
rev = "v${version}";
2024-05-05 18:12:33 +03:00
hash = "sha256-DQvcf+y73QQYQanEvbOCOgwQzvNOXS1ZY+hVvS6N+G0=";
2020-12-21 13:50:50 +03:00
};
2023-09-09 15:16:30 +03:00
nativeBuildInputs = [
autoreconfHook
autoconf-archive
2023-11-11 00:34:35 +03:00
pkg-config
2023-09-09 15:16:30 +03:00
libev
curlWithGnuTLS
sqlite
];
2020-12-21 13:50:50 +03:00
enableParallelBuilding = true;
meta = with lib; {
2020-12-21 13:50:50 +03:00
description = "Automated C-Lightning Node Manager";
homepage = "https://github.com/ZmnSCPxj/clboss";
2023-09-09 15:16:30 +03:00
changelog = "https://github.com/ZmnSCPxj/clboss/blob/v${version}/ChangeLog";
2020-12-21 13:50:50 +03:00
license = licenses.mit;
maintainers = with maintainers; [ nixbitcoin ];
2020-12-21 13:50:50 +03:00
platforms = platforms.linux;
};
}