Unverified Commit 5e108fda authored by rewine's avatar rewine Committed by GitHub
Browse files

wownero: fix build with cmake4 (#451350)

parents fb488465 98b06d67
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