base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / misc / libbitcoin / libbitcoin-client.nix
blobbaaba916476953f0f33559433783625c0f4cda8b
1 { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
2 , boost, libbitcoin, libbitcoin-protocol }:
4 stdenv.mkDerivation rec {
5   pname = "libbitcoin-client";
6   version = "3.8.0";
8   src = fetchFromGitHub {
9     owner = "libbitcoin";
10     repo = pname;
11     rev = "v${version}";
12     hash = "sha256-5qbxixaozHFsOcBxnuGEfNJyGL8UaYCOPwPakfc0bAg=";
13   };
15   nativeBuildInputs = [ autoreconfHook pkg-config ];
16   propagatedBuildInputs = [ libbitcoin libbitcoin-protocol ];
18   enableParallelBuilding = true;
20   configureFlags = [
21     "--with-tests=no"
22     "--with-boost=${boost.dev}"
23     "--with-boost-libdir=${boost.out}/lib"
24   ];
26   meta = with lib; {
27     description = "Bitcoin client query library";
28     homepage = "https://github.com/libbitcoin/libbitcoin-client";
29     platforms = platforms.linux ++ platforms.darwin;
30     maintainers = [ ];
32     # AGPL with a lesser clause
33     license = licenses.agpl3Plus;
34   };