1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 pkg-config,
6 cmake,
7 yaml-cpp,
8 libevdev,
9 udev,
10 boost,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "interception-tools";
15 version = "0.6.8";
16 src = fetchFromGitLab {
17 owner = "interception/linux";
18 repo = "tools";
19 rev = "v${version}";
20 hash = "sha256-jhdgfCWbkF+jD/iXsJ+fYKOtPymxcC46Q4w0aqpvcek=";
21 };
22
23 nativeBuildInputs = [
24 cmake
25 pkg-config
26 ];
27 buildInputs = [
28 libevdev
29 udev
30 yaml-cpp
31 boost
32 ];
33
34 meta = {
35 description = "Minimal composable infrastructure on top of libudev and libevdev";
36 homepage = "https://gitlab.com/interception/linux/tools";
37 changelog = "https://gitlab.com/interception/linux/tools/-/tags/v${version}";
38 license = lib.licenses.gpl3Only;
39 maintainers = [ lib.maintainers.vyp ];
40 platforms = lib.platforms.linux;
41 };
42}