2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, mkDerivation
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, protobuf
|
|
|
|
, python3
|
|
|
|
, ffmpeg_6
|
|
|
|
, libopus
|
|
|
|
, qtbase
|
|
|
|
, qtmultimedia
|
|
|
|
, qtsvg
|
|
|
|
, SDL2
|
|
|
|
, libevdev
|
|
|
|
, udev
|
|
|
|
, hidapi
|
|
|
|
, fftw
|
2023-10-19 13:55:26 +00:00
|
|
|
, speexdsp
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "chiaki4deck";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.4.1";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "streetpea";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-W/t9uYApt8j5UMjtVWhFtq+IHmu9vi6M92I8N4kRtEk=";
|
2023-08-04 22:07:22 +00:00
|
|
|
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
|
2023-10-19 13:55:26 +00:00
|
|
|
speexdsp
|
2023-08-04 22:07:22 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|