Loading pkgs/by-name/sh/shadps4/package.nix +53 −10 Original line number Diff line number Diff line Loading @@ -2,29 +2,44 @@ lib, stdenv, fetchFromGitHub, nixosTests, alsa-lib, boost, cmake, cryptopp, game-music-emu, glslang, ffmpeg, flac, fluidsynth, fmt, half, jack2, libdecor, libGL, libpulseaudio, libunwind, libusb1, magic-enum, libvorbis, libxmp, libgbm, libx11, libxcb, libxcursor, libxext, libxi, libxrandr, libxscrnsaver, libxtst, magic-enum, mpg123, pipewire, pkg-config, pugixml, rapidjson, renderdoc, robin-map, sdl3, sndio, stb, toml11, Loading @@ -33,7 +48,6 @@ vulkan-loader, vulkan-memory-allocator, xbyak, xorg, xxHash, zlib-ng, zydis, Loading @@ -42,39 +56,68 @@ stdenv.mkDerivation (finalAttrs: { pname = "shadps4"; version = "0.12.5"; version = "0.13.0"; src = fetchFromGitHub { owner = "shadps4-emu"; repo = "shadPS4"; tag = "v.${finalAttrs.version}"; hash = "sha256-H/GOnArWxMe/90qgyLb9fXbeJabUOV8CjLtpGokoStQ="; hash = "sha256-zc3zhFTphty/vwioFEOfhgXttpD9MG2F7+YJYcW0H2w="; fetchSubmodules = true; leaveDotGit = true; postFetch = '' cd "$out" git rev-parse --short=8 HEAD > $out/COMMIT date -u -d "@$(git log -1 --pretty=%ct)" "+%Y-%m-%dT%H:%M:%SZ" > $out/SOURCE_DATE_EPOCH find "$out" -name .git -print0 | xargs -0 rm -rf ''; }; postPatch = '' substituteInPlace src/common/scm_rev.cpp.in \ --replace-fail @APP_VERSION@ ${finalAttrs.version} \ --replace-fail @GIT_REV@ $(cat COMMIT) \ --replace-fail @GIT_BRANCH@ ${finalAttrs.version} \ --replace-fail @GIT_DESC@ nixpkgs \ --replace-fail @BUILD_DATE@ $(cat SOURCE_DATE_EPOCH) ''; buildInputs = [ alsa-lib boost cryptopp game-music-emu glslang ffmpeg flac fluidsynth fmt half jack2 libdecor libGL libpulseaudio libunwind libusb1 xorg.libX11 xorg.libXext magic-enum libvorbis libxmp libx11 libxcb libxcursor libxext libxi libxrandr libxscrnsaver libxtst libgbm magic-enum mpg123 pipewire pugixml rapidjson renderdoc robin-map sdl3 sndio stb toml11 Loading Loading @@ -114,7 +157,7 @@ stdenv.mkDerivation (finalAttrs: { runtimeDependencies = [ vulkan-loader xorg.libXi libxi ]; passthru = { Loading Loading
pkgs/by-name/sh/shadps4/package.nix +53 −10 Original line number Diff line number Diff line Loading @@ -2,29 +2,44 @@ lib, stdenv, fetchFromGitHub, nixosTests, alsa-lib, boost, cmake, cryptopp, game-music-emu, glslang, ffmpeg, flac, fluidsynth, fmt, half, jack2, libdecor, libGL, libpulseaudio, libunwind, libusb1, magic-enum, libvorbis, libxmp, libgbm, libx11, libxcb, libxcursor, libxext, libxi, libxrandr, libxscrnsaver, libxtst, magic-enum, mpg123, pipewire, pkg-config, pugixml, rapidjson, renderdoc, robin-map, sdl3, sndio, stb, toml11, Loading @@ -33,7 +48,6 @@ vulkan-loader, vulkan-memory-allocator, xbyak, xorg, xxHash, zlib-ng, zydis, Loading @@ -42,39 +56,68 @@ stdenv.mkDerivation (finalAttrs: { pname = "shadps4"; version = "0.12.5"; version = "0.13.0"; src = fetchFromGitHub { owner = "shadps4-emu"; repo = "shadPS4"; tag = "v.${finalAttrs.version}"; hash = "sha256-H/GOnArWxMe/90qgyLb9fXbeJabUOV8CjLtpGokoStQ="; hash = "sha256-zc3zhFTphty/vwioFEOfhgXttpD9MG2F7+YJYcW0H2w="; fetchSubmodules = true; leaveDotGit = true; postFetch = '' cd "$out" git rev-parse --short=8 HEAD > $out/COMMIT date -u -d "@$(git log -1 --pretty=%ct)" "+%Y-%m-%dT%H:%M:%SZ" > $out/SOURCE_DATE_EPOCH find "$out" -name .git -print0 | xargs -0 rm -rf ''; }; postPatch = '' substituteInPlace src/common/scm_rev.cpp.in \ --replace-fail @APP_VERSION@ ${finalAttrs.version} \ --replace-fail @GIT_REV@ $(cat COMMIT) \ --replace-fail @GIT_BRANCH@ ${finalAttrs.version} \ --replace-fail @GIT_DESC@ nixpkgs \ --replace-fail @BUILD_DATE@ $(cat SOURCE_DATE_EPOCH) ''; buildInputs = [ alsa-lib boost cryptopp game-music-emu glslang ffmpeg flac fluidsynth fmt half jack2 libdecor libGL libpulseaudio libunwind libusb1 xorg.libX11 xorg.libXext magic-enum libvorbis libxmp libx11 libxcb libxcursor libxext libxi libxrandr libxscrnsaver libxtst libgbm magic-enum mpg123 pipewire pugixml rapidjson renderdoc robin-map sdl3 sndio stb toml11 Loading Loading @@ -114,7 +157,7 @@ stdenv.mkDerivation (finalAttrs: { runtimeDependencies = [ vulkan-loader xorg.libXi libxi ]; passthru = { Loading