1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

universal-pidff: init at 0.0.6 (#334445)

This commit is contained in:
Aleksana 2024-09-15 16:34:05 +08:00 committed by GitHub
commit 2e436c17b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 60 additions and 0 deletions

View file

@ -4556,6 +4556,12 @@
githubId = 24708079;
name = "Dan Eads";
};
danerieber = {
email = "danerieber@gmail.com";
github = "danerieber";
githubId = 6487079;
name = "Dane Rieber";
};
danid3v = {
email = "sch220233@spengergasse.at";
github = "DaniD3v";
@ -17234,6 +17240,12 @@
githubId = 131856;
name = "Arnout Engelen";
};
racci = {
name = "James Draycott";
email = "me@racci.dev";
github = "DaRacci";
githubId = 90304606;
};
raehik = {
email = "thefirstmuffinman@gmail.com";
github = "raehik";

View file

@ -0,0 +1,46 @@
{
stdenv,
lib,
fetchFromGitHub,
kernel,
}:
stdenv.mkDerivation rec {
pname = "universal-pidff";
version = "0.0.8";
src = fetchFromGitHub {
owner = "JacKeTUs";
repo = "universal-pidff";
rev = "refs/tags/${version}";
hash = "sha256-DptLqyjfRCpkbyFAQI8sylyKu2XyZZGrSITva9vcXGQ=";
};
postPatch = ''
sed -i 's|depmod|#depmod|' Makefile
'';
hardeningDisable = [
"pic"
"format"
];
nativeBuildInputs = kernel.moduleBuildDependencies;
makeFlags = [
"KVERSION=${kernel.modDirVersion}"
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"INSTALL_MOD_PATH=$(out)"
];
installTargets = [ "install" ];
meta = {
description = "PIDFF driver with useful patches for initialization of FFB devices";
homepage = "https://github.com/JacKeTUs/universal-pidff";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
danerieber
racci
];
platforms = lib.platforms.linux;
};
}

View file

@ -538,6 +538,8 @@ in {
trelay = callPackage ../os-specific/linux/trelay { };
universal-pidff = callPackage ../os-specific/linux/universal-pidff { };
usbip = callPackage ../os-specific/linux/usbip { };
v86d = callPackage ../os-specific/linux/v86d { };