From af4e12adb785c10892c61a1244bf86694c82782d Mon Sep 17 00:00:00 2001 From: Michel van der Burg Date: Sun, 19 Mar 2023 16:41:25 +0100 Subject: [PATCH] subsurface: add dependencies for transports The version of libdivecomputer that subsurface uses was built without libraries it needs for transports, this made it impossible to import dives from a dive computer over USB. --- pkgs/applications/misc/subsurface/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/subsurface/default.nix b/pkgs/applications/misc/subsurface/default.nix index 55599a87b86..1bc2c2b6c97 100644 --- a/pkgs/applications/misc/subsurface/default.nix +++ b/pkgs/applications/misc/subsurface/default.nix @@ -9,8 +9,10 @@ , qmake , curl , grantlee +, hidapi , libgit2 , libssh2 +, libusb1 , libxml2 , libxslt , libzip @@ -44,9 +46,9 @@ let sourceRoot = "source/libdivecomputer"; - nativeBuildInputs = [ autoreconfHook ]; + nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ zlib ]; + buildInputs = [ zlib libusb1 bluez hidapi ]; enableParallelBuilding = true;