diff options
author | Alex Vong <alexvong1995@gmail.com> | 2019-08-14 16:19:25 +0800 |
---|---|---|
committer | Alex Vong <alexvong1995@gmail.com> | 2019-09-17 13:31:25 +0800 |
commit | 0ed97e69805253656df929a6ad678016aa81f08a (patch) | |
tree | b9849e1e8332e7bcf3895637bea182aa2e35817d /gnu/packages/language.scm | |
parent | 708c6857c1f205ac5cdef667f80fe2220ef291a3 (diff) | |
download | guix-0ed97e69805253656df929a6ad678016aa81f08a.tar.gz |
gnu: Add tegaki-wagomu-traditional-chinese.
* gnu/packages/language.scm (tegaki-wagomu-traditional-chinese): New variable.
Diffstat (limited to 'gnu/packages/language.scm')
-rw-r--r-- | gnu/packages/language.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 81f96a3870..1ed2483615 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -862,3 +862,24 @@ suitable for both the desktop and mobile devices.") (modules remove-pre-compiled-files-modules) (snippet (remove-pre-compiled-files "model")))) (license lgpl2.1))) ; all files + +;;; Upstream does not provide the source for tegaki-wagomu-traditional-chinese. +;;; Therefore, we use the source for tegaki-zinnia-traditional-chinese and +;;; patch the Makefile accordingly. +(define-public tegaki-wagomu-traditional-chinese + (package + (inherit tegaki-zinnia-traditional-chinese) + (name "tegaki-wagomu-traditional-chinese") + (arguments + (substitute-keyword-arguments + (package-arguments tegaki-zinnia-traditional-chinese) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (replace 'configure + (lambda args + (let ((configure (assq-ref ,phases 'configure))) + (apply configure args)) + (substitute* "Makefile" + (("zinnia") "wagomu")) + #t)))))) + (license lgpl2.1))) ; all files |