From d909e89b6d6c04b8ef8b88504d5a1484aa31bb0f Mon Sep 17 00:00:00 2001 From: sohalt Date: Fri, 21 Jun 2024 14:07:08 -0400 Subject: [PATCH] spaacenavd: 1.2 -> 1.3 --- pkgs/misc/drivers/spacenavd/default.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pkgs/misc/drivers/spacenavd/default.nix b/pkgs/misc/drivers/spacenavd/default.nix index d4e1d2b01be0..162bca50efc0 100644 --- a/pkgs/misc/drivers/spacenavd/default.nix +++ b/pkgs/misc/drivers/spacenavd/default.nix @@ -1,18 +1,26 @@ -{ stdenv, lib, fetchFromGitHub, fetchpatch, libX11, IOKit }: - +{ + stdenv, + lib, + fetchFromGitHub, + libXext, + libX11, + IOKit, +}: stdenv.mkDerivation rec { - version = "1.2"; + version = "1.3"; pname = "spacenavd"; src = fetchFromGitHub { owner = "FreeSpacenav"; repo = "spacenavd"; rev = "v${version}"; - sha256 = "sha256-UuM/HTgictvIvlUnHZ5Ha8XwBhDTbt7CG9c4jzKQl0s="; + hash = "sha256-26geQYOXjMZZ/FpPpav7zfql0davTBwB4Ir+X1oep9Q="; }; - buildInputs = [ libX11 ] - ++ lib.optional stdenv.isDarwin IOKit; + buildInputs = [ + libX11 + libXext + ] ++ lib.optional stdenv.isDarwin IOKit; configureFlags = [ "--disable-debug" ];