Would it work to simply pass ‘googletest’ as an input?If not, this approach is fine IMO.
Toggle quote (4 lines)> + "Lib3MF is a C++ implementation of the 3D Manufacturing Format (3MF) file> +standard. It offers a way to integrate 3MF reading and writing capabilities, as> +well as conversion and validation tools for input and output data. The> +specification can be downloaded at http://3mf.io/specification/.")
On Wed, Aug 28, 2019 at 9:38 AM Ludovic Courtès <email@example.com> wrote:
Toggle quote (8 lines)> > + (add-after 'unpack 'unpack-googletest> > + (lambda* (#:key inputs #:allow-other-keys)> > + (copy-recursively (assoc-ref inputs "googletest-source")> > + "UnitTests/googletest")>> Would it work to simply pass ‘googletest’ as an input?> If not, this approach is fine IMO.
Unfortunately, no, the build process expects to see the googletestsource in a sub-module directory. Attached a new patch with the fixes you suggested.
From a691020809334c94a33a9632c8a7fd75102fd8f2 Mon Sep 17 00:00:00 2001From: Steve Sprang <firstname.lastname@example.org>Date: Fri, 23 Aug 2019 15:23:00 -0700Subject: [PATCH] gnu: Add lib3mf. * gnu/packages/engineering.scm (lib3mf): New variable.--- gnu/packages/engineering.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)