diff --git a/pkgs/games/chiaki-ng/default.nix b/pkgs/games/chiaki-ng/default.nix index c230fe10768b..3ec054b901ed 100644 --- a/pkgs/games/chiaki-ng/default.nix +++ b/pkgs/games/chiaki-ng/default.nix @@ -35,15 +35,15 @@ xxHash, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "chiaki-ng"; - version = "1.9.8"; + version = "1.9.9"; src = fetchFromGitHub { owner = "streetpea"; repo = "chiaki-ng"; - rev = "v${version}"; - hash = "sha256-HQmXbi2diewA/+AMjlkyffvD73TkX6D+lMh+FL2Rcz4="; + rev = "v${finalAttrs.version}"; + hash = "sha256-7pDQnlElnBkW+Nr6R+NaylZbsGH8dB31nd7jxYD66yQ="; fetchSubmodules = true; }; @@ -87,12 +87,6 @@ stdenv.mkDerivation rec { xxHash ]; - # handle library name discrepancy when curl not built with cmake - postPatch = '' - substituteInPlace lib/CMakeLists.txt \ - --replace-fail 'libcurl_shared' 'libcurl' - ''; - cmakeFlags = [ "-Wno-dev" (lib.cmakeFeature "CHIAKI_USE_SYSTEM_CURL" "true") @@ -126,4 +120,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux; mainProgram = "chiaki"; }; -} +})