From 1ce8d3420813d567dc141d2fb161a4c8850a0ec7 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 14 Oct 2024 05:43:12 +0100 Subject: [PATCH] corsix-th: 0.67 -> 0.68 Changes: https://github.com/CorsixTH/CorsixTH/releases/tag/v0.68.0 --- pkgs/games/corsix-th/default.nix | 10 ++++++++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/games/corsix-th/default.nix b/pkgs/games/corsix-th/default.nix index 8e393904b920..4dee7418cb89 100644 --- a/pkgs/games/corsix-th/default.nix +++ b/pkgs/games/corsix-th/default.nix @@ -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" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2a9e5eb64e4c..726ec9fb118e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };