From 9165e72c7f0206a9b2216027164c69508ef5d75a Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 14 Sep 2019 18:50:24 +0200 Subject: [PATCH] chiaki: init at 1.0.3 --- pkgs/games/chiaki/default.nix | 31 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/games/chiaki/default.nix diff --git a/pkgs/games/chiaki/default.nix b/pkgs/games/chiaki/default.nix new file mode 100644 index 000000000000..7a9ac7d381c1 --- /dev/null +++ b/pkgs/games/chiaki/default.nix @@ -0,0 +1,31 @@ +{ lib, mkDerivation, fetchFromGitHub +, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkgconfig, protobuf +, python3Packages, SDL2 }: + +mkDerivation rec { + pname = "chiaki"; + version = "1.0.3"; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "thestr4ng3r"; + repo = "chiaki"; + fetchSubmodules = true; + sha256 = "09c6izprqqvhn1vbr2897ql05w5c7iqakm6jn795a5faghjm1mah"; + }; + + nativeBuildInputs = [ + cmake pkgconfig protobuf python3Packages.python python3Packages.protobuf + ]; + buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ]; + + doCheck = true; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 37699f9310b5..fb751f174fd0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21832,6 +21832,8 @@ in chessx = libsForQt59.callPackage ../games/chessx { }; + chiaki = libsForQt5.callPackage ../games/chiaki { }; + chocolateDoom = callPackage ../games/chocolate-doom { }; crispyDoom = callPackage ../games/crispy-doom { };