unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: mbcladwell@stihie.net
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: No Guile development packages were found.
Date: Tue, 28 Jul 2020 03:50:53 -0500	[thread overview]
Message-ID: <20200728035053.Horde.vqOWUcoxBInOkfjXAEjWeSQ@www.stihie.net> (raw)
In-Reply-To: <20200727222521.7b450c9b@tachikoma.lepiller.eu>

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!





  reply	other threads:[~2020-07-28  8:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27 11:52 No Guile development packages were found mbcladwell
2020-07-27 13:37 ` Efraim Flashner
2020-07-27 18:29   ` mbcladwell
2020-07-27 20:25     ` Julien Lepiller
2020-07-28  8:50       ` mbcladwell [this message]
2020-07-28 19:25       ` mbcladwell
2020-07-27 13:48 ` Julien Lepiller
2020-07-27 18:58   ` mbcladwell
2020-07-27 20:21     ` Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200728035053.Horde.vqOWUcoxBInOkfjXAEjWeSQ@www.stihie.net \
    --to=mbcladwell@stihie.net \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).