From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8E+sIukPvmAxIgEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 14:24:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cCUaHukPvmA1EAAAbx9fmQ (envelope-from ) for ; Mon, 07 Jun 2021 12:24:09 +0000 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 3CA1521552 for ; Mon, 7 Jun 2021 14:24:09 +0200 (CEST) Received: from localhost ([::1]:59754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqEIa-0002rr-99 for larch@yhetil.org; Mon, 07 Jun 2021 08:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqEIU-0002rT-NX for guix-patches@gnu.org; Mon, 07 Jun 2021 08:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqEIU-0003dj-HH for guix-patches@gnu.org; Mon, 07 Jun 2021 08:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqEIU-0005zJ-Dv for guix-patches@gnu.org; Mon, 07 Jun 2021 08:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48899] [PATCH]: gnu: Add lowdown. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48899 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48899@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162306859022954 (code B ref -1); Mon, 07 Jun 2021 12:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jun 2021 12:23:10 +0000 Received: from localhost ([127.0.0.1]:54689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqEHe-0005y9-7Q for submit@debbugs.gnu.org; Mon, 07 Jun 2021 08:23:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:47064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqEHc-0005y2-Bb for submit@debbugs.gnu.org; Mon, 07 Jun 2021 08:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqEHa-0002gc-Ve for guix-patches@gnu.org; Mon, 07 Jun 2021 08:23:08 -0400 Received: from mail-m975.mail.163.com ([123.126.97.5]:45556) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqEHV-0002zE-Il for guix-patches@gnu.org; Mon, 07 Jun 2021 08:23:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=9Tak6 KV5wWNu/MkwDkFrzA/vpGxeNf+iXr0jl+n8hj8=; b=In2EJcOInXi0c5NwW6BzV lka3Z/RCUaZTPqTyXzlIC1PZ69YDZRoKJmgjDcJfjOaVFCtso5nbN0zJWaGBuVhV CZWmGEIJ1ANaXF9NeDEiMH5UXK4W6Hn7MNm8PbjukbSe7aZzZkCgx2JTwDgEIFcU ucE5+IAHU8g/qd8IjpHTE8= Received: from asus-laptop (unknown [27.38.241.30]) by smtp5 (Coremail) with SMTP id HdxpCgBHX+qdD75gT0qmGw--.21475S2; Mon, 07 Jun 2021 20:22:54 +0800 (CST) User-agent: mu4e 1.4.15; emacs 27.2 From: Zhu Zihao Date: Mon, 07 Jun 2021 20:22:52 +0800 Message-ID: <86czsxamoz.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: HdxpCgBHX+qdD75gT0qmGw--.21475S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUwxRDUUUUU X-Originating-IP: [27.38.241.30] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBZhmqr1aD8LU6LgABs- Received-SPF: pass client-ip=123.126.97.5; envelope-from=all_but_last@163.com; helo=mail-m975.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623068649; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=9Tak6KV5wWNu/MkwDkFrzA/vpGxeNf+iXr0jl+n8hj8=; b=bo1InhLI6l7Qf6ed6E2zmb3buBFl8Rz71N5VxS1ph2mJE7ei2CxFB3PQgfWvG0A7p72ysD IniE/thtohutdekpedKvN5NYpJ3SErnIA9yJlXQyTc31zRe4XJa+qCAnVQ3wuvaE7yAyU3 rXUX3H3eLz5L2jXI/6dbqu0bjpQ5moFw4icEiVVUP+Ai9HeXcQSt7jQOfWz5QRidwX7a/Q L5ouaTmeB/1cKK3GTJ2brouriDldnZMJd1sKJvz9NphUIbDzkboYyuXVCXz+CUL9pyAUJG xFX1q+QNDk2pHppOUBgukrFJs02vPgAVMxwqTtqBY1iY3K9dkg0Nmxytxl4aUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623068649; a=rsa-sha256; cv=none; b=fhc9bJyIDc3dWEnwVrPeyPgmXz/3bLrFhMx+Cy2KvJ93d4HZN82tIFkichsWgqOkIBrL9g zbPPoG6pTfqPPYH2WvcwGmxx3RfPQbK4EX2bSFHbpYFNZF6j7HKkN3iQjU/17YUXozD4fA hEc9BldtSErt4gwxSKUELIv8fw2Y4w73AEp2Eq8XjZOUZyVUoGKa075lqro8AnL/PHC8IZ 3r+kQhEWMrGDLA5maDFWvIlCQiJSDTeqM9jB+cqSQ3YIDj3urHv3s26/V+aE8fN7zi18// OZJj5S7tldN2nNnHQTsinNO2kojD64PtX/pslZglOH9sk8kBAXMIhpAXUX8qQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=In2EJcOI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=In2EJcOI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3CA1521552 X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZhNV/RgjVGYg --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQTUepyLKuOQW1Y9kTW+QrNSqfaCHwUCYL4PnBUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQvkKzUqn2gh/N4wD/TXYqvYCUAfD1mfI03cvSS2acdJCz jd0EcKwpVFnZNKoA+QGSH7syrf9VUb9UjxMnPKV+1B1OWtkjEztrpEsIILUC =6Tbn -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-lowdown.patch >From 15feae91f6192f22d519968c9849de512eaaf525 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Mon, 7 Jun 2021 20:17:22 +0800 Subject: [PATCH] gnu: Add lowdown. * gnu/packages/markup.scm(lowdown): New variable. --- gnu/packages/markup.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 368976bfde..0a643809aa 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -114,6 +114,36 @@ convert it to structurally valid XHTML (or HTML).") (license (non-copyleft "file://License.text" "See License.text in the distribution.")))) +(define-public lowdown + (package + (name "lowdown") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-" + version ".tar.gz")) + (sha256 + (base32 "1f6lpyz5bbvwqadal8xcfjcm46zcycrgk5079isjyipg85zdyvb2")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;No test + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "./configure" + (string-append "PREFIX=" out) + (string-append "MANDIR=" out "/share/man")))))))) + (native-inputs + `(("which" ,which))) + (home-page "https://kristaps.bsd.lv/lowdown") + (synopsis "Simple Markdown translator") + (description "Lowdown is a Markdown translator producing HTML5, +roff documents in the ms and man formats, LaTeX, gemini, and terminal output.") + (license license:isc))) + (define-public discount (package (name "discount") -- 2.31.1 --=-=-=--