From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gA5nBcKWhWFJGAEAgWs5BA (envelope-from ) for ; Fri, 05 Nov 2021 21:40:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id JdYUAcKWhWHNXwAA1q6Kng (envelope-from ) for ; Fri, 05 Nov 2021 20:40:34 +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 648881C969 for ; Fri, 5 Nov 2021 21:40:33 +0100 (CET) Received: from localhost ([::1]:48194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj60m-0001RN-F6 for larch@yhetil.org; Fri, 05 Nov 2021 16:40:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj60I-0001RF-4Y for guix-patches@gnu.org; Fri, 05 Nov 2021 16:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mj60H-00028B-SX for guix-patches@gnu.org; Fri, 05 Nov 2021 16:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mj60H-0000tG-NM for guix-patches@gnu.org; Fri, 05 Nov 2021 16:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48899] [PATCH v2 1/2] gnu: Add lowdown. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Nov 2021 20:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48899 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina , "48899@debbugs.gnu.org" <48899@debbugs.gnu.org> Received: via spool by 48899-submit@debbugs.gnu.org id=B48899.16361447933404 (code B ref 48899); Fri, 05 Nov 2021 20:40:01 +0000 Received: (at 48899) by debbugs.gnu.org; 5 Nov 2021 20:39:53 +0000 Received: from localhost ([127.0.0.1]:47406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj605-0000sm-HU for submit@debbugs.gnu.org; Fri, 05 Nov 2021 16:39:53 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj604-0000sZ-4Q for 48899@debbugs.gnu.org; Fri, 05 Nov 2021 16:39:48 -0400 Received: by mail-wr1-f67.google.com with SMTP id n29so3876827wra.11 for <48899@debbugs.gnu.org>; Fri, 05 Nov 2021 13:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=iSnCjDHoQ792JT0DFBBbovLZEf0KV40R5DJOVrfh9eY=; b=O0koKyrv9VCmTBJNaUIjyIgIxrlOx09NbO/DzSbG4TthinrS+Qrn5QEiM2lXwObcZX E+OVLb6J/N1rliGcpb+cQehhtz5v6QYJwYN4ShvO/x2YQCHucf3sVK1Nx20B+2SfFj8z +cVRVDxoML29oivX6wPzOcuuKX8HCIROIxmZJtBR/RkLmAkXAVvjSaDqh6+NiC0HzE4v 9t/3cI+WnY3r10qcffJ7yyoVQMXvo6UQUYw64nwAJpZuaXEf1iL3xbkbDZvT3K6q/N+s JsEs7wNpEFiEyKPw7X3YP+Xcijt8rFQNmTYsxZABi2ZV+0DeViF/8WhecsJ644YsHU3O lPcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=iSnCjDHoQ792JT0DFBBbovLZEf0KV40R5DJOVrfh9eY=; b=w94K1ot65OcvcgLIKdrRuJj+aBLDai99MqTJAlh/L7nde9HKM+veTQp4AVxQz68kQi otjBMP/anIQnYyvGknyWthpbd28MNdSx4z6wPnR7pju12/MD2LYdcLfvajYnCZiiIibA RKcBKluUkzEx0Q5XYOqcLIJjOTwJuZ1z7FNt5I7zRrqW+o+FoTdJ3aAwhw4KjTCQ8AvN rr5U/EsvNcEXKSTYkIO4YJjKSUwSKzLvzd50DnZ4VyZAs+laxWsDQTrfMkTM2mdjREBt 2F7QAe7J28lnUOPQAENC53OaZ/QC6YiTTHYD+pLLMvnfdoiGKiZZajF9uCUd7y8gj9t7 58mQ== X-Gm-Message-State: AOAM533/WN1OW3yYev3da1a0438DXGhyhZwTVm7a5OjvfhWNTbJusDHa 9rZYq5/lZboJgqf341gWtgk= X-Google-Smtp-Source: ABdhPJysnAebYo/BHgYqyHvgivSDd8oOymD/xoctkXFb/DGtURxtlnHCJsNqhqPX6qKG7oITzTAYiw== X-Received: by 2002:a05:6000:2a4:: with SMTP id l4mr51103848wry.238.1636144782152; Fri, 05 Nov 2021 13:39:42 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id l11sm8724450wrp.61.2021.11.05.13.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 13:39:41 -0700 (PDT) Message-ID: <4a5013e15be751271907a893c1af8d1de65898f3.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 05 Nov 2021 21:39:40 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1636144833; 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: 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=iSnCjDHoQ792JT0DFBBbovLZEf0KV40R5DJOVrfh9eY=; b=QiAehbPAYAHZfTyqy54JV9yqjXIp/GvxXawkT7pPjMz8DtpmIai/3cZFKI9ASTNqh9g7Yj nz5ZHOW0l1uihyUgWksABBy/+G6Jj3J2Y2sZ4Mg5VHq2vSz0QIsx5QrGH2G0uk2Gwc//BG mLZZPNzxuUU661+F2a86OfUgYFeD6YS1JF2A3arKmdIcVKp8ICcHXWCtuDEx2OS9/npLtB E2zBJWABMRKzAEzMGB7FMtvXFNjEA+HXxAkS0tSyw/fdCFrJLXqeAfCZo88VpLk3mSycI9 YMbdQA7Rnri3pBkhQGhYDrzEgrTnvVt+nPFiMi8WIC1YI4kX/14dyGZO5Nll1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636144833; a=rsa-sha256; cv=none; b=XwoaSTSInKW3mZ8kLu1pfHqBUoz6sarcHW230a9Rm5JgPGI6TJa4LU7N23BgcaOXrkVt1s 2QXwuN1Z3+tmefclRlqRhQRtSTi99j/yuZwP3wdlw4uhud8VIHN5BlJK+yU267oSobpkA0 ap7TtW+ZbO2anIVoWxFBRK4fEaRxvo4VNi/2xtCV6yxEud7VcRDxHBY/VUkwPYoG61IiD3 wMccRT1NFedW4Rq0zvoTpoeVYZjxGd9D/nHRJeazoon60UAbS51md6uIAuONox+mMnMpL/ BzqswBa8S1effB1pFOd4JR/uawlkueDOQ5rb5Eypbp7Pa+GrwB2epnslenAwmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=O0koKyrv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=O0koKyrv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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: 648881C969 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: jk9kpD2R+Xs7 Hi Petr, Am Freitag, den 05.11.2021, 05:48 +0000 schrieb phodina: > Hi Zhu, > > thanks for the patch. However, your patch was missing some imports as > well as in the meantime a new version was released. > > I also created one more patch to add prefix to all licenses in this > module. > > Petr > > ----8<--------cut here ------------------>8------------ This blurb should go below the changelog... > * gnu/packages/markup.scm (lowdown): New variable. > Here after two dashes ("--") > diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm > index 368976bfde..720bdb178b 100644 > --- a/gnu/packages/markup.scm > +++ b/gnu/packages/markup.scm > @@ -7,6 +7,8 @@ > ;;; Copyright © 2020 Marius Bakke > ;;; Copyright © 2020 EuAndreh > ;;; Copyright © 2021 Noisytoot > +;;; Copyright © 2021 Zhu Zihao > +;;; Copyright © 2021 Petr Hodina > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -34,12 +36,14 @@ (define-module (gnu packages markup) > #:use-module (guix build-system perl) > #:use-module (guix build-system python) > #:use-module (guix utils) > + #:use-module (gnu packages base) > #:use-module (gnu packages compression) > #:use-module (gnu packages) > #:use-module (gnu packages perl) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages python) > - #:use-module (gnu packages web)) > + #:use-module (gnu packages web) > + #:use-module ((guix licenses) #:prefix license:)) > > (define-public hoedown > (package > @@ -114,6 +118,36 @@ (define-public markdown > (license (non-copyleft "file://License.text" > "See License.text in the > distribution.")))) > > +(define-public lowdown > + (package > + (name "lowdown") > + (version "0.10.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append " > https://kristaps.bsd.lv/lowdown/snapshots/lowdown-" > + version ".tar.gz")) > + (sha256 > + (base32 > "2f6lpyz5bbvwqadal8xcfjcm46zcycrgk5079isjyipg85zdyvb2")))) Please provide a proper hash next time you update the version on someone's behalf. > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ;No test There are actually regress tests. > + #: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))) > + Cheers