summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-02-09 17:09:11 +0100
committerMarius Bakke <marius@gnu.org>2022-02-10 00:21:46 +0100
commita87ec50b394cffebb6f19b3689fc12c71f974d40 (patch)
treeeef2f42d5d4fd296e7d1e26d101afd0b16f68619 /gnu
parentb3870e67b57028a20de2683559ed221d24b9ba01 (diff)
downloadguix-a87ec50b394cffebb6f19b3689fc12c71f974d40.tar.gz
gnu: juCi++: Unbundle embedded copy of "nlohmann" JSON library.
* gnu/packages/text-editors.scm (jucipp)[source](modules, snippet): New
fields.
[inputs]: Add JSON-MODERN-CXX.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/text-editors.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index b8f9ae0326..0ae1ca4588 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -52,6 +52,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages code)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages fontutils)
@@ -320,7 +321,12 @@ bindings and many of the powerful features of GNU Emacs.")
                                   (recursive? #t)))
               (file-name (git-file-name name version))
               (sha256
-               (base32 "0xyf1fa7jvxzvg1dxh5vc50fbwjjsar4fmlvbfhicdd1f8bhz1ii"))))
+               (base32 "0xyf1fa7jvxzvg1dxh5vc50fbwjjsar4fmlvbfhicdd1f8bhz1ii"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Delete bundled copy of nlohmann/json.
+                  (delete-file-recursively "lib/json")))))
     (build-system cmake-build-system)
     (arguments
      (list #:configure-flags #~(list "-DBUILD_TESTING=ON")
@@ -381,6 +387,7 @@ bindings and many of the powerful features of GNU Emacs.")
            clang-11               ;XXX: must be the same version as Mesas LLVM
            gtkmm-3
            gtksourceviewmm
+           json-modern-cxx
            libgit2
            universal-ctags))
     (synopsis "Lightweight C++ IDE")