unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: "Tomáš Čech" <sleep_walker@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add the-silver-searcher.
Date: Fri, 20 Mar 2015 21:22:13 +0100	[thread overview]
Message-ID: <87vbhv772i.fsf@gnu.org> (raw)
In-Reply-To: <1426772720-28337-1-git-send-email-sleep_walker@gnu.org> ("Tomáš	Čech"'s message of "Thu, 19 Mar 2015 14:45:20 +0100")

Tomáš Čech <sleep_walker@gnu.org> skribis:

> * gnu/packages/code.scm (the-silver-searcher): New variable.

[...]

> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/ggreer/the_silver_searcher/archive/"
> +                                  version ".tar.gz"))

Indentation.

> +              (sha256
> +               (base32
> +                "0ah7vcqprl9hhafi68bvzaiywy7dfm28zf7kpw3xrlqzfn0vg7kp"))))

Please add this field to the origin:

  (file-name (string-append name "-" version ".tar.gz"))

so the source tarball in the store has a more meaningful name.

> +       ;; there is no configure yet, so lets create it, but let configure and
> +       ;; make do the work in later phases

“There” and “let’s” plus final period.

> +       (alist-cons-before 'configure 'autoconf
> +                          (lambda _
> +                            (substitute* "build.sh" (("./configure") "true")
> +                                         (("make -j4") "true"))

Please indent the ‘substitute*’ form as is done in the other files.

> +    (description
> +     "The silver searcher - shortly ag - is tool for quickly searching through

“The silver search, or 'ag', is a tool”

OK to push with these changes, thank you!

Ludo’.

      reply	other threads:[~2015-03-20 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 13:45 [PATCH] gnu: Add the-silver-searcher Tomáš Čech
2015-03-20 20:22 ` Ludovic Courtès [this message]

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=87vbhv772i.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=sleep_walker@gnu.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).