clboss: 0.13A -> 0.13
This commit is contained in:
@@ -1,33 +1,34 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, curl, libev, sqlite }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf-archive, autoreconfHook, pkgconfig, curl, libev, sqlite }:
|
||||
|
||||
let
|
||||
curlWithGnuTLS = curl.override { gnutlsSupport = true; opensslSupport = false; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clboss";
|
||||
version = "0.13A";
|
||||
version = "0.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ZmnSCPxj/clboss/releases/download/${version}/clboss-${version}.tar.gz";
|
||||
hash = "sha256-LTDJrm9Mk4j7Z++tKJKawEurgF1TnYuIoj+APbDHll4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ZmnSCPxj";
|
||||
repo = "clboss";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-NP9blymdqDXo/OtGLQg/MXK24PpPvCrzqXRdtfCvpfI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/ZmnSCPxj/clboss/pull/162, required for clighting 23.05
|
||||
(fetchpatch {
|
||||
name = "fix-json-rpc";
|
||||
url = "https://github.com/ZmnSCPxj/clboss/commit/a4bb0192550803db3d07628a29284a76f7204365.patch";
|
||||
sha256 = "sha256-1iBJlOnt7n2xXNDgzH3PAvLryZcpM4VWNaWcEegbapQ=";
|
||||
})
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
autoconf-archive
|
||||
pkgconfig
|
||||
libev
|
||||
curlWithGnuTLS
|
||||
sqlite
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libev curlWithGnuTLS sqlite ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automated C-Lightning Node Manager";
|
||||
homepage = "https://github.com/ZmnSCPxj/clboss";
|
||||
changelog = "https://github.com/ZmnSCPxj/clboss/blob/v${version}/ChangeLog";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nixbitcoin ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
Reference in New Issue
Block a user