wownero: fix build with cmake4 (#451350)

This commit is contained in:
rewine
2025-10-13 17:21:08 +00:00
committed by GitHub

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