Skip to content
Snippets Groups Projects
Unverified Commit 4b34c21f authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: Add java-commons-net.

* gnu/packages/java.scm (java-commons-net): New variable.
parent cbce5de2
No related branches found
No related tags found
No related merge requests found
...@@ -2164,6 +2164,34 @@ (define-public java-httpcomponents-httpmime ...@@ -2164,6 +2164,34 @@ (define-public java-httpcomponents-httpmime
("java-junit" ,java-junit) ("java-junit" ,java-junit)
("java-hamcrest-core" ,java-hamcrest-core))))) ("java-hamcrest-core" ,java-hamcrest-core)))))
(define-public java-commons-net
(package
(name "java-commons-net")
(version "3.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/commons/net/source/"
"commons-net-" version "-src.tar.gz"))
(sha256
(base32
"0n0cmnddk9qdqhjvka8pc6hd9mn2qi3166f1s6xk32h7rfy1adxr"))))
(build-system ant-build-system)
(arguments
`(;; FIXME: MainTest.java tries to read "examples.properties" (which
;; should be "resources/examples/examples.properties"), but gets "null"
;; instead.
#:tests? #f
#:jar-name "commons-net.jar"))
(native-inputs
`(("java-junit" ,java-junit)
("java-hamcrest-core" ,java-hamcrest-core)))
(home-page "http://commons.apache.org/net/")
(synopsis "Client library for many basic Internet protocols")
(description "The Apache Commons Net library implements the client side of
many basic Internet protocols. The purpose of the library is to provide
fundamental protocol access, not higher-level abstractions.")
(license license:asl2.0)))
(define-public java-commons-cli (define-public java-commons-cli
(package (package
(name "java-commons-cli") (name "java-commons-cli")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment