2023-01-29 14:44:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, pkg-config, cmake, yaml-cpp,
|
2021-06-06 06:26:02 +00:00
|
|
|
libevdev, udev, boost }:
|
2017-09-02 06:17:53 +00:00
|
|
|
|
2021-06-06 06:26:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "interception-tools";
|
2021-12-10 12:22:46 +00:00
|
|
|
version = "0.6.8";
|
2021-06-06 06:26:02 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "interception/linux";
|
|
|
|
repo = "tools";
|
|
|
|
rev = "v${version}";
|
2021-12-10 12:22:46 +00:00
|
|
|
sha256 = "sha256-jhdgfCWbkF+jD/iXsJ+fYKOtPymxcC46Q4w0aqpvcek=";
|
2017-09-02 06:17:53 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2023-01-29 14:44:19 +00:00
|
|
|
buildInputs = [ libevdev udev yaml-cpp boost ];
|
2017-09-02 06:17:53 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A minimal composable infrastructure on top of libudev and libevdev";
|
|
|
|
homepage = "https://gitlab.com/interception/linux/tools";
|
2021-06-06 06:26:02 +00:00
|
|
|
license = lib.licenses.gpl3Only;
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = [ lib.maintainers.vyp ];
|
|
|
|
platforms = lib.platforms.linux;
|
2017-09-02 06:17:53 +00:00
|
|
|
};
|
|
|
|
}
|