all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart <jgart@dismail.de>
To: Guix Devel <guix-devel@gnu.org>
Subject: reader macros for hidden packages
Date: Sat, 25 Jun 2022 22:27:00 -0500	[thread overview]
Message-ID: <20220625222700.GC3148@gac> (raw)


Hi Guixers,

Out of curiosity, is it possible to make reader macros like this with guile?

```
@hidden
(define-public python-httplib2
  (package
    (name "python-httplib2")
    (version "0.9.2")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "httplib2" version))
       (sha256
        (base32
         "126rsryvw9vhbf3qmsfw9lf4l4xm2srmgs439lgma4cpag4s3ay3"))))
    (build-system python-build-system)
    (home-page "https://github.com/jcgregorio/httplib2")
    (synopsis "Comprehensive HTTP client library")
    (description
     "A comprehensive HTTP client library supporting many features left out of
other HTTP libraries.")
    (license license:expat)))
```

The above would make the package hidden by using `hidden-package`.

I would imagine so... I'm just not sure where to begin looking to achieve something like that syntax.

See more discussion here:

https://todo.sr.ht/~whereiseveryone/guixrus/356

all best,

jgart


             reply	other threads:[~2022-06-26  3:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  3:27 jgart [this message]
2022-06-26  7:27 ` reader macros for hidden packages Maxime Devos
2022-06-26 14:43   ` jgart
2022-06-26 14:55     ` Maxime Devos
2022-06-26 20:08       ` jgart
2022-06-27  8:56 ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=20220625222700.GC3148@gac \
    --to=jgart@dismail.de \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.