* [bug#37105] [PATCH 06/20] gnu: Add python2-tegaki-tools.
@ 2019-08-20 15:48 Alex Vong
0 siblings, 0 replies; only message in thread
From: Alex Vong @ 2019-08-20 15:48 UTC (permalink / raw)
To: 37105
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: 0006-gnu-Add-python2-tegaki-tools.patch --]
[-- Type: text/x-diff, Size: 2235 bytes --]
From 693c0d7fa4e7cda42531986ffb0c5105c8082f0d Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Thu, 8 Aug 2019 13:56:56 +0800
Subject: [PATCH 06/20] gnu: Add python2-tegaki-tools.
* gnu/packages/language.scm (python2-tegaki-tools): New variable.
---
gnu/packages/language.scm | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index bc02ff9681..d12ca7451e 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -35,7 +35,7 @@
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module ((guix licenses)
- #:select (bsd-3 gpl2 gpl2+ gpl3 perl-license zpl2.1))
+ #:select (bsd-3 gpl2 gpl2+ gpl3 gpl3+ perl-license zpl2.1))
#:use-module (guix download)
#:use-module (guix utils))
@@ -567,3 +567,30 @@ suitable for both the desktop and mobile devices.")
("python2-tegaki-python" ,python2-tegaki-python)))
(synopsis "Chinese and Japanese Handwriting Recognition (Base UI library)")
(license gpl2+))) ; all files
+
+(define-public python2-tegaki-tools
+ (package
+ (inherit python2-tegaki-wagomu)
+ (name "python2-tegaki-tools")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (tegaki-release-uri "tegaki-tools" version))
+ (sha256
+ (base32
+ "0xxv97ggh2jgldw3r7y59lv3fhz733r6l7mdn6nh4m0gvb0ja971"))
+ (modules remove-pre-compiled-files-modules)
+ (snippet (remove-pre-compiled-files "pyc"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments python2-tegaki-wagomu)
+ ((#:phases _) '%standard-phases)))
+ (inputs
+ `(("python2-tegaki-pygtk" ,python2-tegaki-pygtk)))
+ ;; override inherited inputs
+ (native-inputs '())
+ (propagated-inputs '())
+ (synopsis "Chinese and Japanese Handwriting Recognition (Advanced tools)")
+ ;; Files in gifenc/ are licensed under gpl3+ while other files are licensed
+ ;; under gpl2+. Therefore, the combined work is licensed under gpl3+.
+ (license gpl3+)))
--
2.22.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-20 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-20 15:48 [bug#37105] [PATCH 06/20] gnu: Add python2-tegaki-tools Alex Vong
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).