nixpkgs/pkgs/applications/blockchains/clboss/default.nix
Sergei Trofimovich 4d4f3d1b79 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<std::uint8_t> const&);
          |                                     ^~~~~~~
          |                                     wint_t
2024-02-18 17:12:56 +00:00

35 lines
783 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoconf-archive
, autoreconfHook
, pkg-config
, curlWithGnuTls
, libev
, sqlite
}:
stdenv.mkDerivation rec {
pname = "clboss";
version = "0.13";
src = fetchFromGitHub {
owner = "ZmnSCPxj";
repo = "clboss";
rev = "v${version}";
hash = "sha256-NP9blymdqDXo/OtGLQg/MXK24PpPvCrzqXRdtfCvpfI=";
};
nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ];
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;
mainProgram = "clboss";
};
}