diff options
| author | gemmaro <gemmaro.dev@gmail.com> | 2026-06-11 22:19:51 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-07-20 11:56:21 +0200 |
| commit | 7fe2bb20fa2012bd123531dc9349b335919cddd8 (patch) | |
| tree | eaa7ac08e8e9ca978c937aa014bf24754f1b7152 /gnu/packages/textutils.scm | |
| parent | 6ca6f798a2037e1e6d2504407897a2568d483047 (diff) | |
gnu: Add onigmo.
* gnu/packages/textutils.scm (onigmo): New variable.
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/textutils.scm')
| -rw-r--r-- | gnu/packages/textutils.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index a18e7e8961c..d4545c6e949 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm | |||
| @@ -42,6 +42,7 @@ | |||
| 42 | ;;; Copyright © 2025 John Khoo <johnkhootf@gmail.com> | 42 | ;;; Copyright © 2025 John Khoo <johnkhootf@gmail.com> |
| 43 | ;;; Copyright © 2026 orahcio <orahcio@gmail.com> | 43 | ;;; Copyright © 2026 orahcio <orahcio@gmail.com> |
| 44 | ;;; Copyright © 2026 Wilko Meyer <w@wmeyer.eu> | 44 | ;;; Copyright © 2026 Wilko Meyer <w@wmeyer.eu> |
| 45 | ;;; Copyright © 2026 gemmaro <gemmaro.dev@gmail.com> | ||
| 45 | ;;; | 46 | ;;; |
| 46 | ;;; This file is part of GNU Guix. | 47 | ;;; This file is part of GNU Guix. |
| 47 | ;;; | 48 | ;;; |
| @@ -818,6 +819,35 @@ correlated with data variation rather than file size. pfff can be as reliable | |||
| 818 | as existing hashing techniques, with provably negligible risk of collisions.") | 819 | as existing hashing techniques, with provably negligible risk of collisions.") |
| 819 | (license license:bsd-3))) | 820 | (license license:bsd-3))) |
| 820 | 821 | ||
| 822 | (define-public onigmo | ||
| 823 | (package | ||
| 824 | (name "onigmo") | ||
| 825 | (version "6.2.0") | ||
| 826 | (source | ||
| 827 | (origin | ||
| 828 | (method git-fetch) | ||
| 829 | (uri (git-reference | ||
| 830 | (url "https://github.com/k-takata/Onigmo") | ||
| 831 | (commit (string-append "Onigmo-" version)))) | ||
| 832 | (file-name (git-file-name name version)) | ||
| 833 | (sha256 | ||
| 834 | (base32 "0m6z61w8b4y8yk63sj9q8jm8a2v4ncrx258k96bn71nmji7rjnq3")))) | ||
| 835 | (build-system gnu-build-system) | ||
| 836 | (arguments | ||
| 837 | (list | ||
| 838 | #:phases | ||
| 839 | #~(modify-phases %standard-phases | ||
| 840 | (add-after 'check 'check-python | ||
| 841 | (lambda _ | ||
| 842 | (invoke "make" "pytest")))))) | ||
| 843 | (native-inputs (list autoconf automake libtool ruby python)) | ||
| 844 | (home-page "https://github.com/k-takata/Onigmo") | ||
| 845 | (synopsis "Regular expression library forked from Oniguruma") | ||
| 846 | (description | ||
| 847 | "Onigmo is a regular expression library forked from Oniguruma. It | ||
| 848 | focuses on supporting new expressions.") | ||
| 849 | (license license:bsd-2))) | ||
| 850 | |||
| 821 | (define-public oniguruma | 851 | (define-public oniguruma |
| 822 | (package | 852 | (package |
| 823 | (name "oniguruma") | 853 | (name "oniguruma") |
