[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/20: gnu: Add tegaki-zinnia-japanese.
From: |
guix-commits |
Subject: |
08/20: gnu: Add tegaki-zinnia-japanese. |
Date: |
Tue, 17 Sep 2019 01:34:23 -0400 (EDT) |
alexvong1995 pushed a commit to branch master
in repository guix.
commit 3ed30b88c3f0dfbfcad33fa139acdea65591e128
Author: Alex Vong <address@hidden>
Date: Thu Aug 8 14:03:26 2019 +0800
gnu: Add tegaki-zinnia-japanese.
* gnu/packages/language.scm (tegaki-zinnia-japanese): New variable.
---
gnu/packages/language.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index ad7cf2a..db5a7cb 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages web)
#:use-module (gnu packages xorg)
#:use-module (guix packages)
+ #:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module ((guix licenses)
@@ -648,3 +649,40 @@ suitable for both the desktop and mobile devices.")
#t))))))
(synopsis "Chinese and Japanese Handwriting Recognition (Main program)")
(license gpl2+)))) ; all files
+
+(define-public tegaki-zinnia-japanese
+ (package
+ (inherit python2-tegaki-wagomu)
+ (name "tegaki-zinnia-japanese")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (tegaki-release-uri name version "zip"))
+ (sha256
+ (base32
+ "1nmg9acxhcqly9gwkyb9m0hpy76fll91ywk4b1q4xms0ajxip1h7"))
+ (modules remove-pre-compiled-files-modules)
+ (snippet (remove-pre-compiled-files "model"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "Makefile"
+ (("/usr/local")
+ (assoc-ref outputs "out")))
+ #t)))))
+ ;; override inherited inputs
+ (inputs '())
+ (native-inputs
+ `(("python2-tegaki-tools" ,python2-tegaki-tools)))
+ (propagated-inputs '())
+ (native-search-paths
+ (list (search-path-specification
+ (variable "TEGAKI_MODEL_PATH")
+ (files '("share/tegaki/models")))))
+ (synopsis "Chinese and Japanese Handwriting Recognition (Model)")
+ (license lgpl2.1))) ; all files
- branch master updated (82c4ad9 -> 0ed97e6), guix-commits, 2019/09/17
- 02/20: gnu: Add python2-zinnia., guix-commits, 2019/09/17
- 01/20: gnu: Add zinnia., guix-commits, 2019/09/17
- 06/20: gnu: Add python2-tegaki-tools., guix-commits, 2019/09/17
- 08/20: gnu: Add tegaki-zinnia-japanese.,
guix-commits <=
- 14/20: gnu: Add tegaki-zinnia-traditional-chinese., guix-commits, 2019/09/17
- 18/20: gnu: Add tegaki-wagomu-japanese-joyo., guix-commits, 2019/09/17
- 12/20: gnu: Add tegaki-zinnia-simplified-chinese., guix-commits, 2019/09/17
- 16/20: gnu: Add tegaki-wagomu-japanese., guix-commits, 2019/09/17
- 15/20: gnu: Add tegaki-zinnia-traditional-chinese-light., guix-commits, 2019/09/17
- 05/20: gnu: Add python2-tegaki-pygtk., guix-commits, 2019/09/17
- 04/20: gnu: Add python2-tegaki-python., guix-commits, 2019/09/17
- 03/20: gnu: Add python2-tegaki-wagomu., guix-commits, 2019/09/17
- 09/20: gnu: Add tegaki-zinnia-japanese-light., guix-commits, 2019/09/17
- 10/20: gnu: Add tegaki-zinnia-japanese-kyoiku., guix-commits, 2019/09/17