From 34a8c3dec5213079a905fc86d01b946de1c94c56 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sat, 16 Dec 2023 05:55:14 -0600 Subject: [PATCH 1/2] chiaki4dec: 1.4.1 -> 1.5.1 --- pkgs/games/chiaki4deck/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/chiaki4deck/default.nix b/pkgs/games/chiaki4deck/default.nix index 01c505d60f27..7032e4cbe32a 100644 --- a/pkgs/games/chiaki4deck/default.nix +++ b/pkgs/games/chiaki4deck/default.nix @@ -20,13 +20,13 @@ mkDerivation rec { pname = "chiaki4deck"; - version = "1.4.1"; + version = "1.5.1"; src = fetchFromGitHub { owner = "streetpea"; repo = pname; rev = "v${version}"; - hash = "sha256-W/t9uYApt8j5UMjtVWhFtq+IHmu9vi6M92I8N4kRtEk="; + hash = "sha256-XNpD9JPbckiq0HgpV/QJR8hDmvGTptxBMoGihHz44lc="; fetchSubmodules = true; }; From 65009b0607236d96605736b6c6b5456544d7e22e Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sat, 16 Dec 2023 10:48:02 -0600 Subject: [PATCH 2/2] chiaki4deck: add psn-account-id script to output --- pkgs/games/chiaki4deck/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/games/chiaki4deck/default.nix b/pkgs/games/chiaki4deck/default.nix index 7032e4cbe32a..fcb2ed831fb7 100644 --- a/pkgs/games/chiaki4deck/default.nix +++ b/pkgs/games/chiaki4deck/default.nix @@ -35,6 +35,7 @@ mkDerivation rec { pkg-config protobuf python3 + python3.pkgs.wrapPython python3.pkgs.protobuf python3.pkgs.setuptools ]; @@ -54,6 +55,18 @@ mkDerivation rec { speexdsp ]; + pythonPath = [ + python3.pkgs.requests + ]; + + postInstall = '' + install -Dm755 $src/scripts/psn-account-id.py $out/bin/psn-account-id + ''; + + postFixup = '' + wrapPythonPrograms + ''; + meta = with lib; { homepage = "https://streetpea.github.io/chiaki4deck/"; description = "Fork of Chiaki (Open Source Playstation Remote Play) with Enhancements for Steam Deck";