|
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) ) (package (name "guile-json") (version "4.3.2") (home-page "https://github.com/aconchillo/guile-json") (source (origin (method url-fetch) (uri (string-append "mirror://savannah/guile-json/guile-json-" version ".tar.gz")) (sha256 (base32 "0255c7f053z4p9mqzhpxwbfx3y47j9nfvlgnm8xasdclyzmjl9y2")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) )) (inputs `(("guile" ,guile-3.0))) (synopsis "JSON module for Guile") (description "Guile-JSON supports parsing and building JSON documents according to the specification. These are the main features: @itemize @item Strictly complies to @uref{http://json.org, 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 <julien@lepiller.eu>:
Le Mon, 27 Jul 2020 13:29:28 -0500, mbcladwell@stihie.net a écrit :(inputs `(("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:(inputs `(("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:(native-inputs `(("pkg-config" ,pkg-config)))HTH!
[Prev in Thread] | Current Thread | [Next in Thread] |