2019-09-14 16:50:24 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub
|
2020-07-10 21:49:47 +00:00
|
|
|
, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkgconfig, protobuf
|
2019-09-14 16:50:24 +00:00
|
|
|
, python3Packages, SDL2 }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "chiaki";
|
2020-10-24 20:14:53 +00:00
|
|
|
version = "1.3.0";
|
2019-09-14 16:50:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "thestr4ng3r";
|
|
|
|
repo = "chiaki";
|
|
|
|
fetchSubmodules = true;
|
2020-10-24 20:14:53 +00:00
|
|
|
sha256 = "07w7srxxr8zjp91p5n1sqf4j8lljfrm78lz1m15s2nzlm579015h";
|
2019-09-14 16:50:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake pkgconfig protobuf python3Packages.python python3Packages.protobuf
|
|
|
|
];
|
2020-07-10 21:49:47 +00:00
|
|
|
buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ];
|
2019-09-14 16:50:24 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2020-10-24 20:14:53 +00:00
|
|
|
installCheckPhase = "$out/bin/chiaki --help";
|
2019-09-14 16:50:24 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/thestr4ng3r/chiaki";
|
|
|
|
description = "Free and Open Source PS4 Remote Play Client";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ delroth ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|