Unverified Commit 210463a8 authored by Kira Bruneau's avatar Kira Bruneau Committed by GitHub
Browse files

linuxPackages.xpadneo: 0.10.1 -> 0.10.2 (#512591)

parents aed5f6f6 6851ced6
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -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,11 +36,16 @@ 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";