Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitLab, pkg-config, cmake, yaml-cpp, 2 libevdev, udev, boost }: 3 4stdenv.mkDerivation rec { 5 pname = "interception-tools"; 6 version = "0.6.8"; 7 src = fetchFromGitLab { 8 owner = "interception/linux"; 9 repo = "tools"; 10 rev = "v${version}"; 11 sha256 = "sha256-jhdgfCWbkF+jD/iXsJ+fYKOtPymxcC46Q4w0aqpvcek="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ]; 15 buildInputs = [ libevdev udev yaml-cpp boost ]; 16 17 meta = { 18 description = "A minimal composable infrastructure on top of libudev and libevdev"; 19 homepage = "https://gitlab.com/interception/linux/tools"; 20 license = lib.licenses.gpl3Only; 21 maintainers = [ lib.maintainers.vyp ]; 22 platforms = lib.platforms.linux; 23 }; 24}