mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #107983 from Emantor/topic/chiaki_bump_touchpad
chiaki: 1.3.0 -> 2.0.1 & touchpad support
This commit is contained in:
commit
37c9f30f66
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user