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
pull/1/head
João Paulo da Cruz 2024-01-25 22:22:23 -03:00
parent e105aa3e38
commit 17706bde8c
No known key found for this signature in database
GPG Key ID: AE7A19E2EBE01DB0
2 changed files with 1201 additions and 0 deletions

37
ajatt/packages/ocr.scm Normal file
View 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

File diff suppressed because it is too large Load Diff