Commit 98b06d67 authored by Sigmanificient's avatar Sigmanificient
Browse files

wownero: fix build with cmake4

parent 086ebfbc
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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