Commit 1ce8d342 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files
parent d4f247e8
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, lib
, fetchFromGitHub
, cmake
, curl
, doxygen
, ffmpeg
, freetype
@@ -14,19 +15,21 @@
, libiconv
, Cocoa
, CoreVideo
, CoreMedia
, VideoToolbox
# Update
, nix-update-script
}:

stdenv.mkDerivation(finalAttrs: {
  pname = "corsix-th";
  version = "0.67";
  version = "0.68.0";

  src = fetchFromGitHub {
    owner = "CorsixTH";
    repo = "CorsixTH";
    rev = "v${finalAttrs.version}";
    hash = "sha256-WA/VJqHXzBfVUBNtxCVsGBRzSRQ0pvDvAy03ntc0KZE=";
    hash = "sha256-D8ks+fiFJxwClqW1aNtGGa5UxAFvuH2f2guwPxOEQwI=";
  };

  patches = [
@@ -38,6 +41,7 @@ stdenv.mkDerivation(finalAttrs: {
  buildInputs = let
    luaEnv = lua.withPackages(p: with p; [ luafilesystem lpeg luasec luasocket ]);
  in [
    curl
    ffmpeg
    freetype
    lua
@@ -49,6 +53,8 @@ stdenv.mkDerivation(finalAttrs: {
    libiconv
    Cocoa
    CoreVideo
    CoreMedia
    VideoToolbox
  ];

  cmakeFlags = [ "-Wno-dev" ];
+1 −1
Original line number Diff line number Diff line
@@ -34240,7 +34240,7 @@ with pkgs;
  colobot = callPackage ../games/colobot { };
  corsix-th = callPackage ../games/corsix-th {
    inherit (darwin.apple_sdk.frameworks) Cocoa CoreVideo;
    inherit (darwin.apple_sdk.frameworks) Cocoa CoreVideo CoreMedia VideoToolbox;
  };
  enigma = callPackage ../games/enigma { };