linuxPackages.xpadneo: 0.8.1 -> 0.8.2
Also fixes kernel module version: @DO_NOT_CHANGE@ -> 0.8.2
This commit is contained in:
parent
2ae62ef72f
commit
d554a0aba7
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xpadneo";
|
pname = "xpadneo";
|
||||||
version = "0.8.1";
|
version = "0.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "atar-axis";
|
owner = "atar-axis";
|
||||||
|
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
|
||||||
export sourceRoot=$(pwd)/source/hid-xpadneo/src
|
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;
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
buildInputs = [ bluez ];
|
buildInputs = [ bluez ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue