linuxPackages.xpadneo: 0.9.4 -> 0.9.5

This commit is contained in:
Kira Bruneau 2022-09-12 13:09:13 -04:00
parent 998f0f7924
commit 216a21c638
2 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@ in
extraModprobeConfig =
mkIf
(config.hardware.bluetooth.enable &&
(lib.versionOlder config.boot.kernelPackages.kernel.version "5.12"))
(lib.versionOlder config.boot.kernelPackages.kernel.version "5.12"))
"options bluetooth disable_ertm=1";
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, kernel, bluez }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xpadneo";
version = "0.9.4";
version = "0.9.5";
src = fetchFromGitHub {
owner = "atar-axis";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-4zd+x9uYl0lJgePM9LEgLYFqvcw6VPF/CbR1XiYSwGE=";
repo = "xpadneo";
rev = "refs/tags/v${finalAttrs.version}";
sha256 = "sha256-rT2Mq40fE055FemDG7PBjt+cxgIHJG9tTjtw2nW6B98=";
};
setSourceRoot = ''
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
"-C"
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"M=$(sourceRoot)"
"VERSION=${version}"
"VERSION=${finalAttrs.version}"
];
buildFlags = [ "modules" ];
@ -36,4 +36,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ kira-bruneau ];
platforms = platforms.linux;
};
}
})