Loading pkgs/by-name/gz/gz-utils/package.nix +20 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,12 @@ # buildInputs cli11, spdlog, # nativeCheckInputs python3, # checkInputs gtest, }: stdenv.mkDerivation (finalAttrs: { pname = "gz-utils"; Loading @@ -22,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-fYzysdB608jfMb/EbqiGD4hXmPxcaVTUrt9Wx0dBlto="; }; # Remove vendored gtest, use nixpkgs' version instead. postPatch = '' rm -r test/gtest_vendor substituteInPlace test/CMakeLists.txt --replace-fail \ "add_subdirectory(gtest_vendor)" "# add_subdirectory(gtest_vendor)" ''; nativeBuildInputs = [ cmake gz-cmake Loading @@ -39,6 +53,12 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "GZ_UTILS_VENDOR_CLI11" false) ]; nativeCheckInputs = [ python3 ]; checkInputs = [ gtest ]; doCheck = true; meta = { description = "General purpose utility classes and functions for the Gazebo libraries"; homepage = "https://gazebosim.org/home"; Loading Loading
pkgs/by-name/gz/gz-utils/package.nix +20 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,12 @@ # buildInputs cli11, spdlog, # nativeCheckInputs python3, # checkInputs gtest, }: stdenv.mkDerivation (finalAttrs: { pname = "gz-utils"; Loading @@ -22,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-fYzysdB608jfMb/EbqiGD4hXmPxcaVTUrt9Wx0dBlto="; }; # Remove vendored gtest, use nixpkgs' version instead. postPatch = '' rm -r test/gtest_vendor substituteInPlace test/CMakeLists.txt --replace-fail \ "add_subdirectory(gtest_vendor)" "# add_subdirectory(gtest_vendor)" ''; nativeBuildInputs = [ cmake gz-cmake Loading @@ -39,6 +53,12 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "GZ_UTILS_VENDOR_CLI11" false) ]; nativeCheckInputs = [ python3 ]; checkInputs = [ gtest ]; doCheck = true; meta = { description = "General purpose utility classes and functions for the Gazebo libraries"; homepage = "https://gazebosim.org/home"; Loading