corsix-th: 0.67 -> 0.68

Changes: https://github.com/CorsixTH/CorsixTH/releases/tag/v0.68.0
This commit is contained in:
Sergei Trofimovich 2024-10-14 05:43:12 +01:00
parent d4f247e89f
commit 1ce8d34208
2 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,7 @@
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, curl
, doxygen , doxygen
, ffmpeg , ffmpeg
, freetype , freetype
@ -14,19 +15,21 @@
, libiconv , libiconv
, Cocoa , Cocoa
, CoreVideo , CoreVideo
, CoreMedia
, VideoToolbox
# Update # Update
, nix-update-script , nix-update-script
}: }:
stdenv.mkDerivation(finalAttrs: { stdenv.mkDerivation(finalAttrs: {
pname = "corsix-th"; pname = "corsix-th";
version = "0.67"; version = "0.68.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CorsixTH"; owner = "CorsixTH";
repo = "CorsixTH"; repo = "CorsixTH";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-WA/VJqHXzBfVUBNtxCVsGBRzSRQ0pvDvAy03ntc0KZE="; hash = "sha256-D8ks+fiFJxwClqW1aNtGGa5UxAFvuH2f2guwPxOEQwI=";
}; };
patches = [ patches = [
@ -38,6 +41,7 @@ stdenv.mkDerivation(finalAttrs: {
buildInputs = let buildInputs = let
luaEnv = lua.withPackages(p: with p; [ luafilesystem lpeg luasec luasocket ]); luaEnv = lua.withPackages(p: with p; [ luafilesystem lpeg luasec luasocket ]);
in [ in [
curl
ffmpeg ffmpeg
freetype freetype
lua lua
@ -49,6 +53,8 @@ stdenv.mkDerivation(finalAttrs: {
libiconv libiconv
Cocoa Cocoa
CoreVideo CoreVideo
CoreMedia
VideoToolbox
]; ];
cmakeFlags = [ "-Wno-dev" ]; cmakeFlags = [ "-Wno-dev" ];

View File

@ -34240,7 +34240,7 @@ with pkgs;
colobot = callPackage ../games/colobot { }; colobot = callPackage ../games/colobot { };
corsix-th = callPackage ../games/corsix-th { 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 { }; enigma = callPackage ../games/enigma { };