2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, pkg-config, cmake, libyamlcpp,
|
|
|
|
libevdev, udev, boost }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "interception-tools";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.6.8";
|
2021-06-28 23:13:55 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "interception/linux";
|
|
|
|
repo = "tools";
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-jhdgfCWbkF+jD/iXsJ+fYKOtPymxcC46Q4w0aqpvcek=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ libevdev udev libyamlcpp boost ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A minimal composable infrastructure on top of libudev and libevdev";
|
|
|
|
homepage = "https://gitlab.com/interception/linux/tools";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = lib.licenses.gpl3Only;
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = [ lib.maintainers.vyp ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|