diff --git a/pkgs/os-specific/linux/xpadneo/default.nix b/pkgs/os-specific/linux/xpadneo/default.nix index 713708d4a0ae..fbe1aad2053a 100644 --- a/pkgs/os-specific/linux/xpadneo/default.nix +++ b/pkgs/os-specific/linux/xpadneo/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "xpadneo"; - version = "0.10.1"; + version = "0.10.2"; src = fetchFromGitHub { owner = "atar-axis"; repo = "xpadneo"; tag = "v${finalAttrs.version}"; - hash = "sha256-rMNgKhve76OXr2ha/Sqpw8sy/FWqxDm/bKF4YPlpVlc="; + hash = "sha256-GeQls+DeJrzduBRQw0rc9hf58Ncd5fRmn6Xwn0kMaXs="; }; setSourceRoot = '' @@ -36,12 +36,17 @@ stdenv.mkDerivation (finalAttrs: { installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ]; installTargets = [ "modules_install" ]; - passthru.tests = { - xpadneo = nixosTests.xpadneo; + passthru = { + tests.xpadneo = nixosTests.xpadneo; + updateScript = nix-update-script { + extraArgs = [ + # Skips pre-releases + "--version-regex" + "^v([\\d.]+)$" + ]; + }; }; - passthru.updateScript = nix-update-script { }; - meta = { description = "Advanced Linux driver for Xbox One wireless controllers"; homepage = "https://atar-axis.github.io/xpadneo";