Loading pkgs/by-name/pc/pcsx2-bin/package.nix +13 −7 Original line number Diff line number Diff line Loading @@ -32,16 +32,22 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; passthru = { updateScript = ./update.sh; }; meta = { inherit (pcsx2.meta) homepage longDescription license changelog downloadPage; inherit (pcsx2.meta) homepage longDescription license changelog downloadPage ; description = "Playstation 2 emulator; precompiled binary for MacOS, repacked from official website"; maintainers = with lib.maintainers; [ matteopacini ]; maintainers = with lib.maintainers; [ matteopacini ]; mainProgram = "pcsx2-qt"; platforms = lib.systems.inspect.patternLogicalAnd lib.systems.inspect.patterns.isDarwin lib.systems.inspect.patterns.isx86_64; platforms = lib.systems.inspect.patternLogicalAnd lib.systems.inspect.patterns.isDarwin lib.systems.inspect.patterns.isx86_64; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }) pkgs/by-name/pc/pcsx2-bin/update.sh 0 → 100755 +8 −0 Original line number Diff line number Diff line #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl jq gnused common-updater-scripts set -eou pipefail LATEST_VERSION="$(curl --silent --fail ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/PCSX2/pcsx2/releases" | jq '.[0].tag_name' --raw-output | sed 's/^v//')" update-source-version pcsx2-bin "$LATEST_VERSION" Loading
pkgs/by-name/pc/pcsx2-bin/package.nix +13 −7 Original line number Diff line number Diff line Loading @@ -32,16 +32,22 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; passthru = { updateScript = ./update.sh; }; meta = { inherit (pcsx2.meta) homepage longDescription license changelog downloadPage; inherit (pcsx2.meta) homepage longDescription license changelog downloadPage ; description = "Playstation 2 emulator; precompiled binary for MacOS, repacked from official website"; maintainers = with lib.maintainers; [ matteopacini ]; maintainers = with lib.maintainers; [ matteopacini ]; mainProgram = "pcsx2-qt"; platforms = lib.systems.inspect.patternLogicalAnd lib.systems.inspect.patterns.isDarwin lib.systems.inspect.patterns.isx86_64; platforms = lib.systems.inspect.patternLogicalAnd lib.systems.inspect.patterns.isDarwin lib.systems.inspect.patterns.isx86_64; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; })
pkgs/by-name/pc/pcsx2-bin/update.sh 0 → 100755 +8 −0 Original line number Diff line number Diff line #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl jq gnused common-updater-scripts set -eou pipefail LATEST_VERSION="$(curl --silent --fail ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/PCSX2/pcsx2/releases" | jq '.[0].tag_name' --raw-output | sed 's/^v//')" update-source-version pcsx2-bin "$LATEST_VERSION"