From patchwork Fri Nov 13 17:02:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 25113 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 98A5527BBF4; Fri, 13 Nov 2020 15:04:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7FF0A27BBF6 for ; Fri, 13 Nov 2020 15:04:45 +0000 (GMT) Received: from localhost ([::1]:56446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdad2-0003AO-LG for patchwork@mira.cbaines.net; Fri, 13 Nov 2020 10:04:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdabO-0002NN-9z for guix-patches@gnu.org; Fri, 13 Nov 2020 10:03:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdabO-0006V6-0u for guix-patches@gnu.org; Fri, 13 Nov 2020 10:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdabN-0003e5-T2 for guix-patches@gnu.org; Fri, 13 Nov 2020 10:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44620] [PATCH v2] gnu: Add gmni. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Nov 2020 15:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44620 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44620@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 44620-submit@debbugs.gnu.org id=B44620.160527974313962 (code B ref 44620); Fri, 13 Nov 2020 15:03:01 +0000 Received: (at 44620) by debbugs.gnu.org; 13 Nov 2020 15:02:23 +0000 Received: from localhost ([127.0.0.1]:49061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdaag-0003d4-J6 for submit@debbugs.gnu.org; Fri, 13 Nov 2020 10:02:23 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdaae-0003cq-C2 for 44620@debbugs.gnu.org; Fri, 13 Nov 2020 10:02:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C220E160060 for <44620@debbugs.gnu.org>; Fri, 13 Nov 2020 16:02:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1605279729; bh=G4XNHnDr8hN6YAgI0aZc06cyat+wDpzExq4u5aag8ac=; h=From:To:Cc:Subject:Date:From; b=U/E5o1JDksCo7StgRy47MEdWDlx51ceLP1AIOLaWLYN1qKDlsdnKHnkLeqcgLP+gM MDdV9RS/z0BpQP8hcaXLkVcFQdj7d2JmddzsQeC+aUPWjc8tKzr92RWrsDg2N1Q9v/ sjs7B3n/76e4PKzX4c14AzjUso8mO6RE9CLK4Zy7JgZUdgzEndNcNSP+yWnYZdHeBf xJtCTUNbudB9aqtzM/CbTXaJLecjA9JrTu4TNw5e09gQOpKp90n4dxVE8v/1I268A6 ng4l/X8sL4Gs52MTsRmKJUkiyK8VuhwUk2h53sZYgpQzhMbPa7wS0tXGt2UQdWuKcG vCvm7h7zaDFDw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CXhX05BCgz6tmG; Fri, 13 Nov 2020 16:02:08 +0100 (CET) From: Alexandru-Sergiu Marton Date: Fri, 13 Nov 2020 19:02:01 +0200 Message-Id: <20201113170201.5680-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201113165152.4811-1-brown121407@posteo.ro> References: <20201113165152.4811-1-brown121407@posteo.ro> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/web-browsers.scm (gmni): New variable. --- This second version simplifies the arguments section by using #:make-flags to set CC, rather than using an environment variable. gnu/packages/web-browsers.scm | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 5cb5185a31..b652e8d472 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Raghav Gururajan ;;; Copyright © 2020 B. Wilson ;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; ;;; This file is part of GNU Guix. ;;; @@ -60,6 +61,7 @@ #:use-module (gnu packages lisp) #:use-module (gnu packages lisp-xyz) #:use-module (gnu packages lua) + #:use-module (gnu packages man) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -584,6 +586,43 @@ key-bindings and is fully configurable and extensible in Common Lisp.") (define-public sbcl-next (deprecated-package "sbcl-next" nyxt)) +(define-public gmni + (let ((commit "4a6172f1bf9cb41eb1ce3a5f720f9ebe4febc62b") + (revision "0")) + (package + (name "gmni") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~sircmpwn/gmni") + (commit commit))) + (sha256 + (base32 + "1nznkk1ccm5l09glalkv8bmhspqhvmh74ca18cfpdpbwkbzdzc7i")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags (list "CC=gcc"))) + (inputs + `(("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc))) + (home-page "https://sr.ht/~sircmpwn/gmni") + (synopsis "Gemini client") + (description "This is a Gemini client. Included are: + +@itemize +@item A CLI utility (like curl): gmni +@item A line-mode browser: gmnlm +@end itemize") + (license (list license:gpl3+ + (license:non-copyleft + "https://curl.se/docs/copyright.html" + "Used only for files taken from curl.")))))) + (define-public bombadillo (package (name "bombadillo")