From 4d4f3d1b79c39753aec2cc3ac4a8e3ad66e14303 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 18 Feb 2024 17:12:02 +0000 Subject: [PATCH] clboss: 0.12 -> 0.13 Changes: https://github.com/ZmnSCPxj/clboss/releases/tag/v0.13 Without the update the build fails on `master` against `gcc-13` as https://hydra.nixos.org/build/249004612: In file included from dev-proxy-connect.cpp:3: Net/SocketFd.hpp:42:37: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 42 | void write(std::vector const&); | ^~~~~~~ | wint_t --- pkgs/applications/blockchains/clboss/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/blockchains/clboss/default.nix b/pkgs/applications/blockchains/clboss/default.nix index c016e0f37e38..0cad0ed2ae54 100644 --- a/pkgs/applications/blockchains/clboss/default.nix +++ b/pkgs/applications/blockchains/clboss/default.nix @@ -1,6 +1,8 @@ { lib , stdenv -, fetchurl +, fetchFromGitHub +, autoconf-archive +, autoreconfHook , pkg-config , curlWithGnuTls , libev @@ -9,14 +11,16 @@ stdenv.mkDerivation rec { pname = "clboss"; - version = "0.12"; + version = "0.13"; - src = fetchurl { - url = "https://github.com/ZmnSCPxj/clboss/releases/download/${version}/clboss-${version}.tar.gz"; - hash = "sha256-UZcSfbpp3vPsD3CDukp+r5Z60h0UEWTduqF4DhJ+H2U="; + src = fetchFromGitHub { + owner = "ZmnSCPxj"; + repo = "clboss"; + rev = "v${version}"; + hash = "sha256-NP9blymdqDXo/OtGLQg/MXK24PpPvCrzqXRdtfCvpfI="; }; - nativeBuildInputs = [ pkg-config libev curlWithGnuTls sqlite ]; + nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ]; enableParallelBuilding = true;