forked from hashirama/ajattix
creating first modules and packages
creating ocr.scm containing the manga-ocr package definition creating python-xyz.scm containing missing python libraries to feed ocr.scm
This commit is contained in:
parent
e105aa3e38
commit
17706bde8c
37
ajatt/packages/ocr.scm
Normal file
37
ajatt/packages/ocr.scm
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
(define-module (ajatt packages ocr)
|
||||||
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix build-system python)
|
||||||
|
#:use-module (guix build-system pyproject)
|
||||||
|
#:use-module (gnu packages machine-learning)
|
||||||
|
#:use-module (gnu packages python-xyz)
|
||||||
|
#:use-module (gnu packages xdisorg)
|
||||||
|
#:use-module (ajatt packages python-xyz))
|
||||||
|
|
||||||
|
(define-public manga-ocr
|
||||||
|
(package
|
||||||
|
(name "python-manga-ocr")
|
||||||
|
(version "0.1.11")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "manga-ocr" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1sxhk613ag1vk5hm6zxa0npjcn4gn0bgf1bq7id56qw44rlq1ki1"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(inputs (list python-fire
|
||||||
|
python-fugashi
|
||||||
|
python-jaconv
|
||||||
|
python-loguru
|
||||||
|
python-numpy
|
||||||
|
python-pillow
|
||||||
|
python-pyperclip
|
||||||
|
python-pytorch
|
||||||
|
python-transformers
|
||||||
|
python-unidic-lite))
|
||||||
|
(home-page "https://github.com/kha-white/manga-ocr")
|
||||||
|
(synopsis "OCR for Japanese manga")
|
||||||
|
(description "OCR for Japanese manga")
|
||||||
|
(license #f)))
|
||||||
|
manga-ocr
|
1164
ajatt/packages/python-xyz.scm
Normal file
1164
ajatt/packages/python-xyz.scm
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue