From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EPm4GkADG2J/SwAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 05:51:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uJtwE0ADG2L7KwEAG6o9tA (envelope-from ) for ; Sun, 27 Feb 2022 05:51:12 +0100 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 EB2CA2CB90 for ; Sun, 27 Feb 2022 05:51:11 +0100 (CET) Received: from localhost ([::1]:43844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOBWY-0002yW-ST for larch@yhetil.org; Sat, 26 Feb 2022 23:51:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOBWQ-0002wl-2F for guix-patches@gnu.org; Sat, 26 Feb 2022 23:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOBWP-0004tf-Q5 for guix-patches@gnu.org; Sat, 26 Feb 2022 23:51:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOBWP-000878-Ni for guix-patches@gnu.org; Sat, 26 Feb 2022 23:51:01 -0500 Subject: bug#49929: [PATCH] gnu: Add gmid. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 04:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: cage Cc: 49929-done@debbugs.gnu.org Mail-Followup-To: 49929@debbugs.gnu.org, maxim.cournoyer@gmail.com, cage-dev@twistfold.it Received: via spool by 49929-done@debbugs.gnu.org id=D49929.164593743431129 (code D ref 49929); Sun, 27 Feb 2022 04:51:01 +0000 Received: (at 49929-done) by debbugs.gnu.org; 27 Feb 2022 04:50:34 +0000 Received: from localhost ([127.0.0.1]:56676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOBVs-00085q-5Q for submit@debbugs.gnu.org; Sat, 26 Feb 2022 23:50:34 -0500 Received: from mail-qk1-f171.google.com ([209.85.222.171]:42825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOBVq-00085Z-55 for 49929-done@debbugs.gnu.org; Sat, 26 Feb 2022 23:50:27 -0500 Received: by mail-qk1-f171.google.com with SMTP id b20so587694qkn.9 for <49929-done@debbugs.gnu.org>; Sat, 26 Feb 2022 20:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=RUd0AmwN7lMSgD4TJve3cbL7HcR/M9oNoLMsBmKm3pE=; b=Qi2WVplx9nG6S9o9OBs4hHJ1DI5hINLJiGqjbHBIZp1yhnCAg/mdEh+rFutZ0zhuUo kAQEVcclK81AWiRIUG/NspYJh3WwLs6fnHXioOxNY2aFRk2O1/Psz3sKQOra+1CwPVfh johcHGMzO7dKUI5q0pw1o/3QLxkBjHAszDE8ObXYp34oEQZGH7zzE5j/gvyBrd6MRP1h fKYV7Zm9m+bFjcQJ/iBameCvnTZny4g8IvG5d8AaBoItx1SNAhn5RUj+606FBKaW16iW yjTV0N2TC3vjXZb/3Ky0DhbP2IahglOi/MNlozbbsOSAyl1RHNYDWOIfA1N4RPEtRZCN hXNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=RUd0AmwN7lMSgD4TJve3cbL7HcR/M9oNoLMsBmKm3pE=; b=mGHm39aLBI6HGYW9+IffrCSDLEPSraRdpDHV/xQrdEExz/cffZfnTFacPEFfP51ICW pd6gLKeumRR9R3SJSah6i4kEEcnNymvr1YUZdneZL+MV26Z3BJR0rEFIEKy3AxY8cM2k Dr3nV9Yg/YHO2+i8gTRdyn9VuX1VzteHev/5vlE6jzuzkd2E7hAcjRE6UZkHdZxFJopN fDYEvZROf/d79VhTqAvyfnQAW+oiChFYY4NCSAXmC6s8m55k81kdWBf/QgLMoy7mWW+L YdjQOxF7jpLWvs9VkNqjp84VXIkiQWkWEBLEWLTl7h8kVZaOweYMLOT1h+/sDGts9VAn bADA== X-Gm-Message-State: AOAM5301g0rzxRtfA8WonhFBygAbXsjnmjkNNkppfs2gj4aRKTAJellU C08SE1jQb6UmyA/uYDUyZ3oUAcQiAEKBlA== X-Google-Smtp-Source: ABdhPJwY7JCKfqOO0nZxmDfZLp2nYGY6kZJNjrgr/7RgBxicqevODxVdS5aLScM1hC5XdRcyEln17A== X-Received: by 2002:a05:620a:f0e:b0:507:d59b:a928 with SMTP id v14-20020a05620a0f0e00b00507d59ba928mr8307396qkl.617.1645937420182; Sat, 26 Feb 2022 20:50:20 -0800 (PST) Received: from hurd (dsl-149-67.b2b2c.ca. [66.158.149.67]) by smtp.gmail.com with ESMTPSA id 20-20020ac84e94000000b002de8f564305sm4731089qtp.1.2022.02.26.20.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 20:50:19 -0800 (PST) From: Maxim Cournoyer References: <875yp4lw7c.fsf@gmail.com> Date: Sat, 26 Feb 2022 23:50:18 -0500 In-Reply-To: (cage's message of "Sat, 26 Feb 2022 16:53:57 +0100") Message-ID: <87h78kvrp1.fsf@gmail.com> 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645937472; 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-to: 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=RUd0AmwN7lMSgD4TJve3cbL7HcR/M9oNoLMsBmKm3pE=; b=SlNwpskx++Sd/pQy62WG0c8mpkTQbyrKvb4xeMni868YpQmwxMN0w014BX46KzOAvIZPwe jjYSDXDYJ8y4LeezYNcKoeX8Emk11ryInBI7tHZT4vCr49OR+Q52VeMKTKLGeGAlg+Mvtl RnW8xCxNN6sYSOXk9t062qWKOC0fDlqiYd1KjKHytp3cBiXhXXpmrXcHYgac7kL1BQBXSI JkdjAuoPrrus5PvJuyHEifn95MyYmoL/kYdbnG8C24l6Jm5pcHbP/MRE/qfHzBOf5cYsG+ j7Q2lc9xtYOigandyNVdQ4EsrFMAVmQnbCj9y55+A8Wn+FszZjIFysKlITR/rw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645937472; a=rsa-sha256; cv=none; b=W1z8tRodipLDLD7JQzo7UzvwsFKa33A/+DBdLN+JWExgx0b4eFQGaFXcq9JA3QbJ+A0cU5 VMZGSUMhLcVK4OXmyQVeEOON/dCUVONwI91+IAVMnKouIJQT6HmRwjdMgOaN0YEb78GIqH Legt5Vcc12NU1lNx/r/aRxvceHz5P1QTeuGsH2jZ1UhcNiRUpZ9+llIt+6oq2+ZThCZe02 oNjEyE46E5wgxq8pyumUSWxIplTfyW3y3opvjRYBlciz8TgAV7uHjp495bnR88cBl7QmCP 67JH7rN6i/woSRYz5J1po8/aDZR/Iapril1+rnF95vdGDskwy7zplI9V/kcyAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Qi2WVplx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Qi2WVplx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: EB2CA2CB90 X-Spam-Score: 4.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: rxp85c/qLcni Hello! cage writes: > On Wed, Feb 23, 2022 at 11:33:59PM -0500, Maxim Cournoyer wrote: > > Hi! > > Thanks for your feedback! > > [...] > >> The rest looks good to me, well done! >> Could you send an update with changes along these lines? > > Here is my best attempt to fix the definition form following your > advice; i have enabled the 'check' phase and removed the backtick > notation. I was not able to update the call to 'invoke', because > -honestly- i was not able to wrap my head around g-expr. I hope the > results are acceptable by the way! :) Thank, that's much nicer with the test suite! I moved the package to (gnu packages web), updated it to 1.8.1 (per 'guix lint' recommendation), ordered the inputs, simplified the phase a bit and enumerated some of the supported features in the description. I also fixed the license, which is ISC rather than X11 (see https://directory.fsf.org/wiki/License:ISC). Pushed as 7eb68770efb33c1444f0ba1654334cfe19b3f5c6. Closing; thank you! Maxim > Bye and thanks again! > C. > > --- > gnu/packages/networking.scm | 38 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm > index 11f1cad007..49776fd666 100644 > --- a/gnu/packages/networking.scm > +++ b/gnu/packages/networking.scm > @@ -48,6 +48,7 @@ > ;;; Copyright =C2=A9 2021 Guillaume Le Vaillant > ;;; Copyright =C2=A9 2021 Maxime Devos > ;;; Copyright =C2=A9 2022 Simon South > +;;; Copyright =C2=A9 2022 cage > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -4196,3 +4197,40 @@ (define-public putty > implementations.") > (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") > (license license:expat))) > + > +(define-public gmid > + (package > + (name "gmid") > + (version "1.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/omar-polo/gmid/releases/d= ownload/" > + version "/gmid-" version ".tar.gz")) > + (sha256 > + (base32 "0ag5zcwnr5vmy13bc9c36hnv9pflks68b0k6w0ng97inrm37klis"))= )) > + (build-system gnu-build-system) > + (arguments > + (list #:test-target "regress" > + #:phases > + #~(modify-phases %standard-phases > + (replace 'configure > + ;; The configure script is hand-written, not from GNU a= utotools. > + (lambda* (#:key configure-flags inputs outputs #:allow-= other-keys) > + (let ((prefix (string-append "PREFIX=3D" (assoc-ref o= utputs "out")))) > + (setenv "CC" #$(cc-for-target)) > + (apply invoke "./configure" (list prefix)))))))) > + (native-inputs > + (list pkg-config > + bison > + flex > + coreutils > + which > + procps)) > + (inputs > + (list libevent > + libressl)) > + (home-page "https://git.omarpolo.com/gmid/about/") > + (synopsis "Simple and secure Gemini server") > + (description "Gmid is a fast Gemini server written with security in = mind.") > + (license license:x11))) > -- > 2.34.0