diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2017-05-07 16:37:43 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2017-05-15 22:33:13 +0200 |
| commit | ff3f67668d045c6c1affca3d0dc9c65764e98196 (patch) | |
| tree | 7f806264cf6ed3559665705bb89bbdab3b7e5708 /gnu | |
| parent | 423b6840b3d7ada3b3c5fef7fdb64b8bbc1acb2b (diff) | |
gnu: Add java-rsyntaxtextarea.
* gnu/packages/textutils.scm (java-rsyntaxtextarea): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/textutils.scm | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 30e21166888..7bc2fc47fa6 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> |
| 3 | ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net> | 3 | ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net> |
| 4 | ;;; Copyright © 2015, 2016 Ben Woodcroft <donttrustben@gmail.com> | 4 | ;;; Copyright © 2015, 2016 Ben Woodcroft <donttrustben@gmail.com> |
| 5 | ;;; Copyright © 2015 Roel Janssen <roel@gnu.org> | 5 | ;;; Copyright © 2015 Roel Janssen <roel@gnu.org> |
| 6 | ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org> | 6 | ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org> |
| @@ -32,11 +32,13 @@ | |||
| 32 | #:use-module (guix packages) | 32 | #:use-module (guix packages) |
| 33 | #:use-module (guix download) | 33 | #:use-module (guix download) |
| 34 | #:use-module (guix git-download) | 34 | #:use-module (guix git-download) |
| 35 | #:use-module (guix build-system ant) | ||
| 35 | #:use-module (guix build-system gnu) | 36 | #:use-module (guix build-system gnu) |
| 36 | #:use-module (guix build-system cmake) | 37 | #:use-module (guix build-system cmake) |
| 37 | #:use-module (guix build-system trivial) | 38 | #:use-module (guix build-system trivial) |
| 38 | #:use-module (gnu packages) | 39 | #:use-module (gnu packages) |
| 39 | #:use-module (gnu packages autotools) | 40 | #:use-module (gnu packages autotools) |
| 41 | #:use-module (gnu packages java) | ||
| 40 | #:use-module (gnu packages ncurses) | 42 | #:use-module (gnu packages ncurses) |
| 41 | #:use-module (gnu packages perl) | 43 | #:use-module (gnu packages perl) |
| 42 | #:use-module (gnu packages pkg-config) | 44 | #:use-module (gnu packages pkg-config) |
| @@ -558,3 +560,35 @@ categories.") | |||
| 558 | "C library for creating and parsing configuration files.") | 560 | "C library for creating and parsing configuration files.") |
| 559 | (license (list license:lgpl2.1 ; Main distribution. | 561 | (license (list license:lgpl2.1 ; Main distribution. |
| 560 | license:asl1.1)))) ; src/readdir.{c,h} | 562 | license:asl1.1)))) ; src/readdir.{c,h} |
| 563 | |||
| 564 | (define-public java-rsyntaxtextarea | ||
| 565 | (package | ||
| 566 | (name "java-rsyntaxtextarea") | ||
| 567 | (version "2.6.1") | ||
| 568 | (source (origin | ||
| 569 | (method url-fetch) | ||
| 570 | (uri (string-append "https://github.com/bobbylight/" | ||
| 571 | "RSyntaxTextArea/archive/" | ||
| 572 | version ".tar.gz")) | ||
| 573 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 574 | (sha256 | ||
| 575 | (base32 | ||
| 576 | "0c5mqg2klj5rvf8fhycrli8rf6s37l9p7a8knw9gpp65r1c120q2")))) | ||
| 577 | (build-system ant-build-system) | ||
| 578 | (arguments | ||
| 579 | `(;; FIXME: some tests fail because locale resources cannot be found. | ||
| 580 | ;; Even when I add them to the class path, | ||
| 581 | ;; RSyntaxTextAreaEditorKitDumbCompleteWordActionTest fails. | ||
| 582 | #:tests? #f | ||
| 583 | #:jar-name "rsyntaxtextarea.jar")) | ||
| 584 | (native-inputs | ||
| 585 | `(("java-junit" ,java-junit) | ||
| 586 | ("java-hamcrest-core" ,java-hamcrest-core))) | ||
| 587 | (home-page "https://bobbylight.github.io/RSyntaxTextArea/") | ||
| 588 | (synopsis "Syntax highlighting text component for Java Swing") | ||
| 589 | (description "RSyntaxTextArea is a syntax highlighting, code folding text | ||
| 590 | component for Java Swing. It extends @code{JTextComponent} so it integrates | ||
| 591 | completely with the standard @code{javax.swing.text} package. It is fast and | ||
| 592 | efficient, and can be used in any application that needs to edit or view | ||
| 593 | source code.") | ||
| 594 | (license license:bsd-3))) | ||
