corsix-th: 0.67 -> 0.68 (#348435)

This commit is contained in:
Aleksana 2024-10-19 16:21:48 +08:00 committed by GitHub
commit c95e47cc42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View File

@ -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" ];

View File

@ -34186,7 +34186,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 { };