litecoin: migrate to boost177

This commit is contained in:
Weijia Wang 2023-06-05 22:05:33 +03:00
parent 7ff1625d2e
commit 23a95f1417
2 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub
{ lib, stdenv, mkDerivation, fetchFromGitHub, fetchpatch
, pkg-config, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc
, glib, protobuf, util-linux, qrencode
@ -20,6 +20,14 @@ mkDerivation rec {
sha256 = "sha256-TuDc47TZOEQA5Lr4DQkEhnO/Szp9h71xPjaBL3jFWuM=";
};
patches = [
(fetchpatch {
name = "boost1770.patch";
url = "https://aur.archlinux.org/cgit/aur.git/plain/boost1770.patch?h=litecoin-qt&id=dc75ad854af123f375b5b683be64aa14573170d7";
hash = "sha256-PTkYQRA8n5a9yR2AvpzH5natsXT2W6Xjo0ONCPJx78k=";
})
];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ openssl db48 boost zlib zeromq fmt
miniupnpc glib protobuf util-linux libevent ]

View file

@ -35988,7 +35988,7 @@ with pkgs;
litecoin = libsForQt5.callPackage ../applications/blockchains/litecoin {
inherit (darwin.apple_sdk.frameworks) AppKit;
boost = pkgs.boost174;
boost = pkgs.boost177;
};
litecoind = litecoin.override { withGui = false; };