GNU bug report logs -
#54602
Germinal, a Common Lisp Gemini Server
Previous Next
To reply to this bug, email your comments to 54602 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#54602
; Package
guix-patches
.
(Sun, 27 Mar 2022 21:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
~vidak <vidak <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 27 Mar 2022 21:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[germinal.scm (application/octet-stream, attachment)]
[Message part 2 (text/plain, inline)]
Hello all,
I have written this package for Guix. It is a gemini protocol server
written in Common Lisp.
For me, it builds and installs, but I cannot seem to understand how to
run the software.
I understand that there are Guix system configurations/definitions for
'Agate' and 'gmnisrv', that allow one to use Guix to serve gemini
content.
(see: https://guix.gnu.org/manual/en/html_node/Web-Services.html )
Could anyone help me understand how I might be able to get this
software, Germinal, running on Guix in the same way as Agate and
gmnisrv?
Thanks in advance,
~vidak
=> https://zoinks.one/vidak
=> gemini://tilde.town/~vidak
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54602
; Package
guix-patches
.
(Tue, 05 Apr 2022 18:42:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54602 <at> debbugs.gnu.org (full text, mbox):
Hello,
Sorry for the delay! Comments below…
~vidak <vidak <at> riseup.net> skribis:
> (use-modules (guix packages)
> (guix build-system asdf)
> (guix build utils)
> (guix git)
> (guix git-download)
> (gnu packages lisp)
> (gnu packages lisp-xyz)
> ((guix licenses) #:prefix license:))
>
> (define-public germinal
> ;; No release.
> (let ((commit "5bfb371ea57dae8985c0e1c6f184f0338487d684"))
> (package
> (name "germinal")
> (version (git-version "1.0.0" "1" commit))
> (source
> (origin
> (method git-fetch)
> (uri (git-reference
> (url "https://git.carcosa.net/jmcbray/germinal")
> (commit commit)))
> (file-name (git-file-name "germinal" version))
> (sha256
> (base32 "12jypa8m10825lp5yxfcm1fyk3r4ziwcri7ndxa0m5dz0y7hggck"))))
> (build-system asdf-build-system/sbcl)
>
> (inputs `(("alexandria" ,sbcl-alexandria)
> ("babel" ,sbcl-babel)
> ("usocket" ,sbcl-usocket)
> ("bordeaux-threads" ,sbcl-bordeaux-threads)
> ("cl+ssl" ,sbcl-cl+ssl)
> ("str" ,sbcl-cl-str)
> ("trivial-mimes" ,sbcl-trivial-mimes)
> ("ppath" ,sbcl-ppath)
> ("osicat" ,sbcl-osicat)
> ("cl-interpol" ,sbcl-cl-interpol)
> ("quri" ,sbcl-quri)
> ("cl-ppcre" ,sbcl-cl-ppcre)
> ("cl-fad" ,sbcl-cl-fad)
> ("local-time" ,sbcl-local-time)
> ("uax-15" ,sbcl-uax-15)))
> (outputs '("out"))
> (arguments
> `(#:asd-systems '("germinal")))
> (synopsis "A gemini protocol server in Common Lisp.")
> (description
> " Germinal is a server for the Gemini Protocol, written in Common
> Lisp.
>
> It is named after the early 20th century Yiddish-language anarchist
> newspaper Germinal. I wanted to name it after an anarchist publication
> to convey the idea of people sharing information and ideas with each
> other, in contrast to the way the web is used to push advertising from
> corporations to people. And it happened that Germinal shares some
> sounds with Gemini.")
>
> (home-page "https://git.carcosa.net/jmcbray/germinal")
> (license license:agpl3))))
>
> germinal
>
>
> Hello all,
>
> I have written this package for Guix. It is a gemini protocol server
> written in Common Lisp.
>
> For me, it builds and installs, but I cannot seem to understand how to
> run the software.
>
> I understand that there are Guix system configurations/definitions for
> 'Agate' and 'gmnisrv', that allow one to use Guix to serve gemini
> content.
>
> (see: https://guix.gnu.org/manual/en/html_node/Web-Services.html )
>
> Could anyone help me understand how I might be able to get this
> software, Germinal, running on Guix in the same way as Agate and
> gmnisrv?
First, I would encourage you to submit the package for inclusion in Guix
proper. For that, you need to turn it into a patch and generally follow
the guidelines at:
https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html
In particular, once you’ve added it to the Guix tree, you will need to
run:
./pre-inst-env guix style germinal
./pre-inst-env guix style -S inputs germinal
to obtain the “conventional” style. Let us know how it goes!
As for defining a Guix System service such as those you mention, I don’t
know. My guess is that you could probably copy/paste
‘agate-service-type’ or ‘gmnisrv-service-type’ and related code as a
starting point, and adjust it so it matches Germinal. People can
provide guidance on help-guix <at> gnu.org and on #guix on Libera.chat.
Thanks in advance,
Ludo’.
This bug report was last modified 2 years and 308 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.