mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: Add java-jansi.
* gnu/packages/java.scm (java-jansi): New variable.
This commit is contained in:
parent
d0c62afa8c
commit
a87ea1adcb
1 changed files with 32 additions and 0 deletions
|
@ -7966,3 +7966,35 @@ (define-public java-jansi-native
|
|||
(description "Java-jansi-native contains the native library for the jansi
|
||||
frobnication library/framework.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public java-jansi
|
||||
(package
|
||||
(name "java-jansi")
|
||||
(version "1.16")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/fusesource/jansi/archive/"
|
||||
"jansi-project-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"11kh3144i3fzp21dpy8zg52mjmsr214k7km9p8ly0rqk2px0qq2z"))))
|
||||
(build-system ant-build-system)
|
||||
(arguments
|
||||
`(#:jar-name "jansi.jar"
|
||||
#:source-dir "jansi/src/main/java"
|
||||
#:test-dir "jansi/src/test"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'check 'clear-term
|
||||
(lambda _
|
||||
(zero? (system* "echo" "-e" "\\e[0m")))))))
|
||||
(inputs
|
||||
`(("java-jansi-native" ,java-jansi-native)))
|
||||
(native-inputs
|
||||
`(("java-junit" ,java-junit)
|
||||
("java-hamcrest-core" ,java-hamcrest-core)))
|
||||
(home-page "https://fusesource.github.io/jansi/")
|
||||
(synopsis "Portable ANSI escape sequences")
|
||||
(description "Jansi is a Java library that allows you to use ANSI escape
|
||||
sequences to format your console output which works on every platform.")
|
||||
(license license:asl2.0)))
|
||||
|
|
Loading…
Reference in a new issue