lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 36 lines 1.1 kB view raw
1{ stdenv, lib, fetchFromGitHub, kernel }: 2 3stdenv.mkDerivation { 4 pname = "hid-tmff2"; 5 # https://github.com/Kimplul/hid-tmff2/blob/ca168637fbfb085ebc9ade0c47fa0653dac5d25b/dkms/dkms-install.sh#L12 6 version = "0.81"; 7 8 src = fetchFromGitHub { 9 owner = "Kimplul"; 10 repo = "hid-tmff2"; 11 rev = "ca168637fbfb085ebc9ade0c47fa0653dac5d25b"; 12 hash = "sha256-Nm5m5xjwJGy+ia4nTkvPZynIxUj6MVGGbSNmIcIpziM="; 13 # For hid-tminit. Source: https://github.com/scarburato/hid-tminit 14 fetchSubmodules = true; 15 }; 16 17 nativeBuildInputs = kernel.moduleBuildDependencies; 18 19 makeFlags = kernel.makeFlags ++ [ 20 "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 21 ]; 22 23 installFlags = [ 24 "INSTALL_MOD_PATH=${placeholder "out"}" 25 ]; 26 27 postPatch = "sed -i '/depmod -A/d' Makefile"; 28 29 meta = with lib; { 30 description = "A linux kernel module for Thrustmaster T300RS, T248 and TX(experimental)"; 31 homepage = "https://github.com/Kimplul/hid-tmff2"; 32 license = licenses.gpl2Plus; 33 maintainers = [ maintainers.rayslash ]; 34 platforms = platforms.linux; 35 }; 36}