wownero: fix build with cmake4

This commit is contained in:
Sigmanificient
2025-10-12 15:49:36 +02:00
parent 086ebfbcf1
commit 98b06d67eb

View File

@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
fetchFromGitea,
fetchpatch,
cmake,
python3,
boost186,
@@ -54,6 +55,14 @@ stdenv.mkDerivation rec {
"-Wno-error=int-conversion"
];
patches = [
# build: set cmake_minimum_required(VERSION 3.5) consistently
(fetchpatch {
url = "https://codeberg.org/wownero/wownero/commit/0d0a656618e396de7ff60368dde708ad9d45f866.patch";
hash = "sha256-xnpEZxWg5YzOhDIWZjNyXH8GBdK7c2rxL9DewPKghIg=";
})
];
nativeBuildInputs = [
cmake
python3