[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No Guile development packages were found.

From: mbcladwell
Subject: Re: No Guile development packages were found.
Date: Tue, 28 Jul 2020 03:50:53 -0500
User-agent: Horde Application Framework 5

Thanks for your assistance.  The final .scm that was successful is:

(use-modules (guix packages)
             (guix download)
             (guix build-system gnu)
             (guix licenses)
             (gnu packages pkg-config)
             (gnu packages guile) )

    (name "guile-json")
    (version "4.3.2")
    (home-page "";)
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://savannah/guile-json/guile-json-"
                                  version ".tar.gz"))
    (build-system gnu-build-system)
    (native-inputs `(("pkg-config" ,pkg-config)
    (inputs `(("guile" ,guile-3.0)))
    (synopsis "JSON module for Guile")
     "Guile-JSON supports parsing and building JSON documents according to the
specification.  These are the main features:

@item Strictly complies to @uref{, specification}.
@item Build JSON documents programmatically via macros.
@item Unicode support for strings.
@item Allows JSON pretty printing.
@end itemize\n")

    ;; Version 1.2.0 switched to GPLv3+ (from LGPLv3+).
    (license gpl3+))

Quoting Julien Lepiller <>:

Le Mon, 27 Jul 2020 13:29:28 -0500, a écrit :

  `(("guile" ,guile)))

The variable that contains the latest guile package is not named guile,
which explains the error you get. Although the package is named "guile"
(because of its name field), the variable that contains it is guile-3.0,
so use this instead:

  `(("guile" ,guile-3.0)))

You'll also need pkg-config as a native-inputs, and to import the
module (gnu packages pkg-config) for the variable to be defined:

  `(("pkg-config" ,pkg-config)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]