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, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchFromGitea, fetchFromGitea,
fetchpatch,
cmake, cmake,
python3, python3,
boost186, boost186,
@@ -54,6 +55,14 @@ stdenv.mkDerivation rec {
"-Wno-error=int-conversion" "-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 = [ nativeBuildInputs = [
cmake cmake
python3 python3