guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31333] [PATCH 01/22] gnu: Add groovy-java-bootstrap.


From: Björn Höfling
Subject: [bug#31333] [PATCH 01/22] gnu: Add groovy-java-bootstrap.
Date: Mon, 7 May 2018 21:25:03 +0200

On Tue,  1 May 2018 17:44:28 +0200
Julien Lepiller <address@hidden> wrote:

[..]

> diff --git a/gnu/packages/groovy.scm b/gnu/packages/groovy.scm new
> file mode 100644 index 000000000..ee2894e30
> --- /dev/null
> +++ b/gnu/packages/groovy.scm

[..]

> +(define groovy-java-bootstrap
> +  (package
> +    (name "groovy-java-bootstrap")

I would suggest "java-groovy-bootstrap", because it is the
groovy-bootstrap, written in Java. Convention for programs in language
x is to prefix the name with "x-".


> +    (version "2.4.15")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> "https://github.com/apache/groovy/archive/GROOVY_";
> +                                  (string-map (lambda (x) (if (eq? x
> #\.) #\_ x)) version)
> +                                  ".tar.gz"))

Snippet missing:

              (snippet
               '(begin
                  (delete-file-recursively
              "gradle/wrapper/gradle-wrapper.jar") #t))

I tried it out, it still builds the whole series until groovy.


Otherwise, LGTM.

Björn

Attachment: pgpVFJHacRxH6.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]