[bug#39741,5/7] gnu: java-openjfx-swt: Add new variable.
diff mbox series

Message ID 20200222201755.50425-5-levenson@mmer.org
State Accepted
Headers show
Series
  • [bug#39742,1/7] gnu: java-openjfx-build: Add helpful patch.
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Alexey Abramov Feb. 22, 2020, 8:17 p.m. UTC
---
 gnu/packages/java.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f2a3861501..60f220f873 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3059,6 +3059,19 @@  distribution.")))
            (propagated-inputs
             `(("java-openjfx-graphics" ,java-openjfx-graphics)))))
 
+(define-public java-openjfx-swt
+  (package (inherit java-openjfx-build)
+           (name "java-openjfx-swt")
+           (arguments
+            `(#:jar-name "java-openjfx-swt.jar"
+              #:source-dir "modules/swt/src/main/java"
+              #:tests? #f))
+           (inputs
+            `(("antlr3" ,antlr3)
+              ("java-stringtemplate" ,java-stringtemplate)))
+           (propagated-inputs
+            `(("java-openjfx-graphics" ,java-openjfx-graphics)))))
+
 (define-public java-openjfx-media
   (package (inherit java-openjfx-build)
     (name "java-openjfx-media")