unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* reader macros for hidden packages
@ 2022-06-26  3:27 jgart
  2022-06-26  7:27 ` Maxime Devos
  2022-06-27  8:56 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: jgart @ 2022-06-26  3:27 UTC (permalink / raw)
  To: Guix Devel


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-27  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-26  3:27 reader macros for hidden packages jgart
2022-06-26  7:27 ` 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

Code repositories for project(s) associated with this public inbox

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

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).