clboss: deprecate, add clighting 23.05 compatibility

This commit is contained in:
Erik Arvstedt 2023-05-26 13:51:20 +02:00 committed by Jonas Nick
parent dcc5a543ae
commit 2166bfd1ee
No known key found for this signature in database
GPG key ID: 4861DBF262123605
3 changed files with 33 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkgconfig, curl, libev, sqlite }:
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, curl, libev, sqlite }:
let
curlWithGnuTLS = curl.override { gnutlsSupport = true; opensslSupport = false; };
@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
hash = "sha256-LTDJrm9Mk4j7Z++tKJKawEurgF1TnYuIoj+APbDHll4=";
};
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 = [ pkgconfig libev curlWithGnuTLS sqlite ];
enableParallelBuilding = true;