diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-08-04 10:43:07 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-08-04 10:43:07 +0000 |
commit | 62614cbef7da005c1eda8c9400160f6bcd6546b8 (patch) | |
tree | c2630f69080637987b68acb1ee8676d2681fe304 /pkgs/games/chiaki | |
parent | d9c82ed3044c72cecf01c6ea042489d30914577c (diff) | |
parent | e24069138dfec3ef94f211f1da005bb5395adc11 (diff) | |
download | nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.gz nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.bz2 nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.lz nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.xz nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.tar.zst nixpkgs-62614cbef7da005c1eda8c9400160f6bcd6546b8.zip |
Merge branch 'nixpkgs-update' into master
Diffstat (limited to 'pkgs/games/chiaki')
-rw-r--r-- | pkgs/games/chiaki/default.nix | 59 |
1 files changed, 46 insertions, 13 deletions
diff --git a/pkgs/games/chiaki/default.nix b/pkgs/games/chiaki/default.nix index be4ec7b73b4..ef454e50006 100644 --- a/pkgs/games/chiaki/default.nix +++ b/pkgs/games/chiaki/default.nix @@ -1,30 +1,63 @@ -{ lib, mkDerivation, fetchFromGitHub -, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkgconfig, protobuf -, python3Packages, SDL2 }: +{ lib, stdenv +, fetchgit +, cmake +, pkg-config +, protobuf +, python3Packages +, ffmpeg +, libopus +, mkDerivation +, qtbase +, qtmultimedia +, qtsvg +, SDL2 +, libevdev +, udev +, qtmacextras +}: mkDerivation rec { pname = "chiaki"; - version = "1.2.1"; + version = "2.1.0"; - src = fetchFromGitHub { + src = fetchgit { + url = "https://git.sr.ht/~thestr4ng3r/chiaki"; rev = "v${version}"; - owner = "thestr4ng3r"; - repo = "chiaki"; fetchSubmodules = true; - sha256 = "00lzsbjd1w1bhlblgf7zp112sk8ac09c3bzi5ljxbn02mi0an3qp"; + sha256 = "1hgh2j71rch53cnpm3f195gpfgrb4hd0yqa810k3ikar8zl4h7sd"; }; nativeBuildInputs = [ - cmake pkgconfig protobuf python3Packages.python python3Packages.protobuf + cmake + pkg-config + protobuf + python3Packages.protobuf + python3Packages.python + ]; + + buildInputs = [ + ffmpeg + libopus + qtbase + qtmultimedia + qtsvg + protobuf + SDL2 + ] ++ lib.optionals stdenv.isLinux [ + libevdev + udev + ] ++ lib.optionals stdenv.isDarwin [ + qtmacextras ]; - buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ]; doCheck = true; + installCheckPhase = "$out/bin/chiaki --help"; + meta = with lib; { - homepage = "https://github.com/thestr4ng3r/chiaki"; - description = "Free and Open Source PS4 Remote Play Client"; - license = licenses.gpl3Plus; + homepage = "https://git.sr.ht/~thestr4ng3r/chiaki"; + description = "Free and Open Source PlayStation Remote Play Client"; + license = licenses.agpl3Only; maintainers = with maintainers; [ delroth ]; platforms = platforms.all; }; |