[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/17: gnu: Add java-openchart2.
From: |
Ricardo Wurmus |
Subject: |
06/17: gnu: Add java-openchart2. |
Date: |
Sat, 3 Mar 2018 15:28:36 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 93abc975feca4d877b0a14a0dd8f3613dcbd7c9b
Author: Ricardo Wurmus <address@hidden>
Date: Thu Mar 1 19:41:38 2018 +0100
gnu: Add java-openchart2.
* gnu/packages/java.scm (java-openchart2): New variable.
---
gnu/packages/java.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 298874f..1e671b9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9292,3 +9292,44 @@ against expected outcomes.")
("java-junit" ,java-junit)))
(native-inputs
`(("java-mockito-1" ,java-mockito-1)))))
+
+(define-public java-openchart2
+ (package
+ (name "java-openchart2")
+ (version "1.4.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"http://download.approximatrix.com/openchart2/"
+ "openchart2-" version ".source.zip"))
+ (sha256
+ (base32
+ "1xq96zm5r02n1blja0072jmmsifmxc40lbyfbnmcnr6mw42frh4g"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-junit-errors
+ (lambda _
+ (with-directory-excursion
"unittest/src/com/approximatrix/charting/"
+ (substitute*
'("coordsystem/ticklocator/NumericXTickLocatorTest.java"
+
"coordsystem/ticklocator/NumericYTickLocatorTest.java"
+
"coordsystem/ticklocator/ObjectXTickLocatorTest.java"
+ "model/DefaultChartDataModelConstraintsTest.java"
+ "model/MultiScatterDataModelConstraintsTest.java"
+
"model/threedimensional/DotPlotDataModelConstraintsTest.java")
+ (("(assertEquals[^;]+);" before _)
+ (string-append (string-drop-right before 2) ", 1E-6);"))))
+ #t))
+ (replace 'install (install-jars ".")))))
+ (native-inputs
+ `(("unzip" ,unzip)
+ ("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (home-page "http://approximatrix.com/products/openchart2/")
+ (synopsis "Simple plotting for Java")
+ (description "Openchart2 provides a simple, yet powerful, interface for
+Java programmers to create two-dimensional charts and plots. The library
+features an assortment of graph styles, including advanced scatter plots, bar
+graphs, and pie charts.")
+ (license license:lgpl2.1+)))
- branch master updated (bd97583 -> 1adeef3), Ricardo Wurmus, 2018/03/03
- 02/17: gnu: Add java-jlargearrays., Ricardo Wurmus, 2018/03/03
- 03/17: gnu: Add java-jtransforms., Ricardo Wurmus, 2018/03/03
- 05/17: gnu: Add java-biojava-core., Ricardo Wurmus, 2018/03/03
- 06/17: gnu: Add java-openchart2.,
Ricardo Wurmus <=
- 04/17: gnu: Add java-jdistlib., Ricardo Wurmus, 2018/03/03
- 09/17: gnu: Add java-biojava-phylo., Ricardo Wurmus, 2018/03/03
- 08/17: gnu: Add java-forester-1.005., Ricardo Wurmus, 2018/03/03
- 01/17: gnu: Add java-la4j., Ricardo Wurmus, 2018/03/03
- 14/17: gnu: Add java-htsjdk-latest., Ricardo Wurmus, 2018/03/03
- 07/17: gnu: Add java-forester., Ricardo Wurmus, 2018/03/03
- 11/17: gnu: Add java-biojava-core-4.0., Ricardo Wurmus, 2018/03/03
- 10/17: gnu: Add java-biojava-alignment., Ricardo Wurmus, 2018/03/03
- 12/17: gnu: Add java-biojava-phylo-4.0., Ricardo Wurmus, 2018/03/03
- 13/17: gnu: Add java-biojava-alignment-4.0., Ricardo Wurmus, 2018/03/03