mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #93847 from MetaDark/xpadneo
linuxPackages.xpadneo: 0.8.1 -> 0.8.2
This commit is contained in:
commit
29fc5af576
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xpadneo";
|
||||
version = "0.8.1";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atar-axis";
|
||||
|
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
|
|||
export sourceRoot=$(pwd)/source/hid-xpadneo/src
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
# Set kernel module version
|
||||
substituteInPlace hid-xpadneo.c \
|
||||
--subst-var-by DO_NOT_CHANGE ${version}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
buildInputs = [ bluez ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue