Unverified Commit c0422a4f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

wargus: 3.3.1 -> 3.3.2 (#482880)

parents 5eed889a 960f1ab1
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  callPackage,
  fetchFromGitHub,
  fetchurl,
  fetchpatch,
  runCommand,
  unzip,
  bchunk,
@@ -55,9 +56,16 @@ stdenv.mkDerivation rec {
  src = fetchFromGitHub {
    owner = "wargus";
    repo = "wargus";
    rev = "v${version}";
    sha256 = "sha256-yJeMFxCD0ikwVPQApf+IBuMQ6eOjn1fVKNmqh6r760c=";
    tag = "v${version}";
    sha256 = "sha256-rU2uMhk7Hx9hrLR/iH2tHkJ2z4cVmJB3ISlvY6dfQKU=";
  };
  patches = [
    (fetchpatch {
      # "change to cmake_minimum_required(VERSION 3.5) to fix CI"
      url = "https://github.com/Wargus/wargus/commit/e89e121edadaf3ab365263c68b5baec305a5c65f.patch";
      sha256 = "sha256-9FgflNyqZUrBY1prOahicnjslMxxUrK2bLspfGeZ6Os=";
    })
  ];

  nativeBuildInputs = [
    cmake
+7 −3
Original line number Diff line number Diff line
@@ -18,14 +18,18 @@

stdenv.mkDerivation rec {
  pname = "stratagus";
  version = "3.3.1";
  version = "3.3.2";

  src = fetchFromGitHub {
    owner = "wargus";
    repo = "stratagus";
    rev = "v${version}";
    sha256 = "sha256-q8AvIWr/bOzI0wV0D2emxIXYEKDYmFxbtwr2BS+xYfA=";
    tag = "v${version}";
    sha256 = "sha256-VzTBd+59tGDdgp1ykdqXuBpT2pVHTnR71bb9/EVyW5Q=";
  };
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.9)" "cmake_minimum_required(VERSION 3.25)"
  '';

  nativeBuildInputs = [
    cmake