Merge pull request #107983 from Emantor/topic/chiaki_bump_touchpad

chiaki: 1.3.0 -> 2.0.1 & touchpad support
This commit is contained in:
Pavol Rusnak 2021-01-01 13:21:17 +01:00 committed by GitHub
commit 37c9f30f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,25 @@
{ lib, mkDerivation, fetchFromGitHub
, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkgconfig, protobuf
, python3Packages, SDL2 }:
{ lib, mkDerivation, fetchgit
, cmake, ffmpeg, libevdev, libopus, udev, qtbase, qtmacextras, qtmultimedia
, qtsvg , pkg-config, protobuf , python3Packages, SDL2, stdenv }:
with stdenv.lib;
mkDerivation rec {
pname = "chiaki";
version = "1.3.0";
version = "2.0.1";
src = fetchFromGitHub {
src = fetchgit {
url = "https://git.sr.ht/~thestr4ng3r/chiaki";
rev = "v${version}";
owner = "thestr4ng3r";
repo = "chiaki";
fetchSubmodules = true;
sha256 = "07w7srxxr8zjp91p5n1sqf4j8lljfrm78lz1m15s2nzlm579015h";
sha256 = "0l532i9j6wmzbxqx7fg69kgfd1zy1r1wlw6f756vpxpgswivi892";
};
nativeBuildInputs = [
cmake pkgconfig protobuf python3Packages.python python3Packages.protobuf
cmake pkg-config protobuf python3Packages.python python3Packages.protobuf
];
buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ];
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";