From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KNEqCfSNTGIjZgAAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 20:44:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uNryBvSNTGL/sQAA9RJhRA (envelope-from ) for ; Tue, 05 Apr 2022 20:44:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A2D9016EF7 for ; Tue, 5 Apr 2022 20:44:03 +0200 (CEST) Received: from localhost ([::1]:45716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbo9q-0005L2-RB for larch@yhetil.org; Tue, 05 Apr 2022 14:44:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbo7u-0003Ds-D1 for guix-patches@gnu.org; Tue, 05 Apr 2022 14:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbo7u-0001iy-4R for guix-patches@gnu.org; Tue, 05 Apr 2022 14:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbo7u-0006CD-2o for guix-patches@gnu.org; Tue, 05 Apr 2022 14:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54602] Germinal, a Common Lisp Gemini Server Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Apr 2022 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54602 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: ~vidak Cc: 54602@debbugs.gnu.org Received: via spool by 54602-submit@debbugs.gnu.org id=B54602.164918409523776 (code B ref 54602); Tue, 05 Apr 2022 18:42:02 +0000 Received: (at 54602) by debbugs.gnu.org; 5 Apr 2022 18:41:35 +0000 Received: from localhost ([127.0.0.1]:56192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbo7S-0006BQ-Kr for submit@debbugs.gnu.org; Tue, 05 Apr 2022 14:41:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbo7R-0006BC-6V for 54602@debbugs.gnu.org; Tue, 05 Apr 2022 14:41:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbo7L-0001ac-UR; Tue, 05 Apr 2022 14:41:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=0IqY+h+gAoB9tQWMk5/GYXZl61kIDgV3V+AM05zOvTw=; b=djBIo4Jy48ufABE7aVT3 IfjXiR+kLOtH/MrA4FJZLls+NeRwFzwSqq9WX4dR6TmUXRdjkfi6lXs3lMDp9+fiju1sc9OriLgTX O7q0P7QFnTriXvlWKrOojUqsABgtG2a6aYeV/Cw9RwVuOmjvB+M5Y4F0X0ixI6tlq+jonyqkKUq43 kMKeihggGjRR6ziy3Lf0H91UMnEWp3zBK6zaKo+nBiBzqTCQ6sTiMEKlfkk2hWN5cWvXd/ls58TeX Be+uSGLQqXyAbZeUg489H9M2mh3KPXSOizLZ3bPYdBl3HdYa0TbbE/Qyn93xzsTjieK/UQJ4di7gk Tco4kaUcu7ey8g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:63485 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbo7L-0001G0-Gu; Tue, 05 Apr 2022 14:41:27 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mthbw052.fsf@riseup.net> Date: Tue, 05 Apr 2022 20:41:26 +0200 In-Reply-To: <87mthbw052.fsf@riseup.net> (vidak@riseup.net's message of "Mon, 28 Mar 2022 05:34:01 +0800") Message-ID: <87lewjid9l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649184243; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0IqY+h+gAoB9tQWMk5/GYXZl61kIDgV3V+AM05zOvTw=; b=l4EuAu5TYUoI/g36yDITyD5a8pb4jIYZbojy/1CEh0UDEGRPiY2ndIN6VW0wFQwrTVefv0 pzT9rtiBP2Z6hbL3pxA2u2Saod6T3Fb0t5hQHDgmgh9m1TbnbGHvxFYS77cscGZyEyck0P 4pPz9y2+xf+yk7vT3BkZ2WpxYR+8DzoccRFcomFf+qVURCxcyKyhZioBy3ig4+yGjWo9dt ZuHYrntB+/2d9ZjMxv8wNlECtTFHk0kUItVukyGrgvkbttIQQlPH1veFFF/LnO0Ft23FtK 6wNByKr0GR8Kyym3M6UXJzgTsRJDads3CjvjB0tca2GwWN8KFqFV1+Pr2Nl9Rw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649184243; a=rsa-sha256; cv=none; b=LtJ+wW+lKbeLYw2hzlS/Bj6SMDA7MN3aLiB2ftdiw2DYcfJAzmXwRNg2HefzSKff0dWGfr 0HZ/6YI6JegFGLPZZyFMWIcc53jHWqr0cZZMX4B1ncDQCEWMf+MfnWqTzHC5qEBnoNwGXN RI4sikj8EbTDdMIMy27wzhtm4Gp0BVV9ORiELTcjjgl5MWYOjAfLFc1H3geImfPBhwJDj/ mCyiYzayL8+zqtD2B/7WI5ufh5JPVigLt2FHqQ6C+Dts2eNN2xZwmkAfLPoonVRnGoNQDm u4WsG6NJ3Tmm/s7jTZ42iX9urgWDnLHRMTKoV4QXGKh+4fhPDhuN1AO45YLYvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=djBIo4Jy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=djBIo4Jy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A2D9016EF7 X-Spam-Score: -4.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 354x2fI/YGj9 Hello, Sorry for the delay! Comments below=E2=80=A6 ~vidak 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.") >=20=20=20=20 > (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=E2=80=99ve 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 =E2=80=9Cconventional=E2=80=9D style. Let us know how it goe= s! As for defining a Guix System service such as those you mention, I don=E2= =80=99t know. My guess is that you could probably copy/paste =E2=80=98agate-service-type=E2=80=99 or =E2=80=98gmnisrv-service-type=E2=80= =99 and related code as a starting point, and adjust it so it matches Germinal. People can provide guidance on help-guix@gnu.org and on #guix on Libera.chat. Thanks in advance, Ludo=E2=80=99.