mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 23:55:23 +00:00
e58ed984d6
chiaki: 2.0.1 -> 2.1.0 (+ licensing fix)
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{ lib, stdenv
|
|
, fetchgit
|
|
, cmake
|
|
, pkg-config
|
|
, protobuf
|
|
, python3Packages
|
|
, ffmpeg
|
|
, libopus
|
|
, mkDerivation
|
|
, qtbase
|
|
, qtmultimedia
|
|
, qtsvg
|
|
, SDL2
|
|
, libevdev
|
|
, udev
|
|
, qtmacextras
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "chiaki";
|
|
version = "2.1.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.sr.ht/~thestr4ng3r/chiaki";
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
sha256 = "1hgh2j71rch53cnpm3f195gpfgrb4hd0yqa810k3ikar8zl4h7sd";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
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
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
installCheckPhase = "$out/bin/chiaki --help";
|
|
|
|
meta = with lib; {
|
|
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;
|
|
};
|
|
}
|