From: ludo@gnu.org (Ludovic Courtès)
To: Mathieu Lirzin <mthl@openmailbox.org>
Cc: Guix-devel <Guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add markdown.
Date: Fri, 01 May 2015 22:33:06 +0200 [thread overview]
Message-ID: <878ud89gxp.fsf@gnu.org> (raw)
In-Reply-To: <87egn1jpt0.fsf@openmailbox.org> (Mathieu Lirzin's message of "Thu, 30 Apr 2015 22:59:07 +0200")
Hi, Mathieu!
Mathieu Lirzin <mthl@openmailbox.org> skribis:
> From eec846d938b35b7a286660257d4f878723ad9da7 Mon Sep 17 00:00:00 2001
> From: Mathieu Lirzin <mthl@openmailbox.org>
> Date: Thu, 30 Apr 2015 22:26:57 +0200
> Subject: [PATCH] gnu: Add markdown.
>
> * gnu/packages/textutils.scm (markdown): New variable.
LGTM! Some comments below:
> + (use-modules (guix build utils))
> + (let ((source (assoc-ref %build-inputs "source"))
> + (out (assoc-ref %outputs "out"))
> + (unzip (string-append (assoc-ref %build-inputs "unzip")
> + "/bin/unzip")))
> + (mkdir-p out)
> + (with-directory-excursion out
> + (system* unzip source)
> + (mkdir "bin")
> + (mkdir-p "share/doc")
> + (rename-file "Markdown_1.0.1/Markdown.pl" "bin/markdown")
I suspect you also need a call like:
(patch-shebang "bin/markdown"
(list (string-append (assoc-ref %build-inputs "perl")
"/bin")))
so that the #! line in bin/markdown refers to the right Perl.
> + (license license:non-copyleft)))
‘non-copyleft’ is a procedure so it should be:
(license (license:non-copyleft "http://url-of-the-license-text"))
Could you send an updated patch?
Thanks!
Ludo’.
next prev parent reply other threads:[~2015-05-01 20:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 20:59 [PATCH] gnu: Add markdown Mathieu Lirzin
2015-05-01 20:33 ` Ludovic Courtès [this message]
2015-05-02 19:03 ` Mathieu Lirzin
2015-05-04 15:13 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878ud89gxp.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=Guix-devel@gnu.org \
--cc=mthl@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).