From 66688cb7a13f365876da3cd0e944be75dd584b83 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Tue, 4 Jul 2023 18:42:34 -0500 Subject: chiaki4deck: init at 1.3.3 --- pkgs/games/chiaki4deck/default.nix | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 pkgs/games/chiaki4deck/default.nix (limited to 'pkgs/games') diff --git a/pkgs/games/chiaki4deck/default.nix b/pkgs/games/chiaki4deck/default.nix new file mode 100644 index 00000000000..4608df45d1e --- /dev/null +++ b/pkgs/games/chiaki4deck/default.nix @@ -0,0 +1,63 @@ +{ lib +, fetchFromGitHub +, mkDerivation +, cmake +, pkg-config +, protobuf +, python3 +, ffmpeg_6 +, libopus +, qtbase +, qtmultimedia +, qtsvg +, SDL2 +, libevdev +, udev +, hidapi +, fftw +}: + +mkDerivation rec { + pname = "chiaki4deck"; + version = "1.3.3"; + + src = fetchFromGitHub { + owner = "streetpea"; + repo = pname; + rev = "v${version}"; + hash = "sha256-DXer39+j8QaI1IAIcLhVzSVNyGvwoT93knRibpFsEeY="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ + cmake + pkg-config + protobuf + python3 + python3.pkgs.protobuf + python3.pkgs.setuptools + ]; + + buildInputs = [ + ffmpeg_6 + libopus + qtbase + qtmultimedia + qtsvg + protobuf + SDL2 + hidapi + fftw + libevdev + udev + ]; + + meta = with lib; { + homepage = "https://streetpea.github.io/chiaki4deck/"; + description = "Fork of Chiaki (Open Source Playstation Remote Play) with Enhancements for Steam Deck"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ devusb ]; + platforms = platforms.linux; + mainProgram = "chiaki"; + }; +} -- cgit 1.4.1