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:
commit
2e436c17b4
|
@ -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";
|
||||
|
|
46
pkgs/os-specific/linux/universal-pidff/default.nix
Normal file
46
pkgs/os-specific/linux/universal-pidff/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue