Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 25 lines 805 B view raw
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 hash = "sha256-jhdgfCWbkF+jD/iXsJ+fYKOtPymxcC46Q4w0aqpvcek="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ]; 15 buildInputs = [ libevdev udev yaml-cpp boost ]; 16 17 meta = { 18 description = "Minimal composable infrastructure on top of libudev and libevdev"; 19 homepage = "https://gitlab.com/interception/linux/tools"; 20 changelog = "https://gitlab.com/interception/linux/tools/-/tags/v${version}"; 21 license = lib.licenses.gpl3Only; 22 maintainers = [ lib.maintainers.vyp ]; 23 platforms = lib.platforms.linux; 24 }; 25}