Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 37c9f30f660f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9fbcb14780ca
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jan 1, 2021

  1. chiaki: cleanup package

    prusnak committed Jan 1, 2021
    Copy the full SHA
    fe11512 View commit details
  2. Merge pull request #108119 from prusnak/chiaki

    chiaki: cleanup package
    prusnak authored Jan 1, 2021
    Copy the full SHA
    9fbcb14 View commit details
Showing with 41 additions and 12 deletions.
  1. +41 −12 pkgs/games/chiaki/default.nix
53 changes: 41 additions & 12 deletions pkgs/games/chiaki/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{ lib, mkDerivation, fetchgit
, cmake, ffmpeg, libevdev, libopus, udev, qtbase, qtmacextras, qtmultimedia
, qtsvg , pkg-config, protobuf , python3Packages, SDL2, stdenv }:
{ stdenv
, fetchgit
, cmake
, pkg-config
, protobuf
, python3Packages
, ffmpeg
, libopus
, qtbase
, qtmultimedia
, qtsvg
, SDL2
, libevdev
, udev
, qtmacextras
}:

with stdenv.lib;
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "chiaki";
version = "2.0.1";

@@ -15,18 +27,35 @@ mkDerivation rec {
};

nativeBuildInputs = [
cmake pkg-config protobuf python3Packages.python python3Packages.protobuf
cmake
pkg-config
protobuf
python3Packages.protobuf
python3Packages.python
];

buildInputs = [
ffmpeg
libopus
qtbase
qtmultimedia
qtsvg
protobuf
SDL2
] ++ stdenv.lib.optionals stdenv.isLinux [
libevdev
udev
] ++ stdenv.lib.optionals stdenv.isDarwin [
qtmacextras
];
buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ]
++ optionals stdenv.hostPlatform.isLinux [ libevdev udev]
++ optionals (stdenv.isDarwin) [ qtmacextras ];

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";
meta = with stdenv.lib; {
homepage = "https://git.sr.ht/~thestr4ng3r/chiaki";
description = "Free and Open Source PlayStation Remote Play Client";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ delroth ];
platforms = platforms.all;