summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-05-16 12:58:11 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-05-16 15:18:17 +0200
commit407df789cf3c2f957ce3f96441a74e20bb0f7b2c (patch)
tree62ae4cefecc3e9b8bb8199cc776e2aee8448b42b /gnu
parentb101b4e8c1a5c9719b645708dfa0f7dda4b77f2d (diff)
downloadguix-407df789cf3c2f957ce3f96441a74e20bb0f7b2c.tar.gz
gnu: stringtemplate4: Inherit from java-stringtemplate-3.
* gnu/packages/java.scm (stringtemplate4)[inherit]: Add
"java-stringtemplate-3" as parent.
[home-page, synopsis, description, license]: Inherit from parent.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm12
1 files changed, 2 insertions, 10 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 123c49c9d5..6c8af7380a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3211,7 +3211,7 @@ StringTemplate also powers ANTLR.")
 ;; So we build antlr3.1 -> antlr3.3 -> ST4.0.6 -> antlr3-bootstrap -> ST4 -> antlr3.
 
 (define-public stringtemplate4
-  (package
+  (package (inherit java-stringtemplate-3)
     (name "stringtemplate4")
     (version "4.0.8")
     (source (origin
@@ -3240,15 +3240,7 @@ StringTemplate also powers ANTLR.")
     (inputs
      `(("antlr3" ,antlr3-bootstrap)
        ("antlr2" ,antlr2)
-       ("java-stringtemplate" ,java-stringtemplate-3)))
-    (home-page "http://www.stringtemplate.org")
-    (synopsis "Template engine to generate formatted text output")
-    (description "StringTemplate is a java template engine (with ports for C#,
-Objective-C, JavaScript, Scala) for generating source code, web pages, emails,
-or any other formatted text output.  StringTemplate is particularly good at
-code generators, multiple site skins, and internationalization / localization.
-StringTemplate also powers ANTLR.")
-    (license license:bsd-3)))
+       ("java-stringtemplate" ,java-stringtemplate-3)))))
 
 (define stringtemplate4-4.0.6
   (package