Upload files to "packages"
parent
c86e7dbc36
commit
57c3f7ebcf
|
@ -0,0 +1,82 @@
|
|||
(define-module
|
||||
(goldendict-ng))
|
||||
|
||||
(use-modules
|
||||
(guix packages)
|
||||
(guix git-download)
|
||||
(gnu packages version-control)
|
||||
(guix download)
|
||||
(guix build-system gnu)
|
||||
(gnu packages xiph)
|
||||
(gnu packages hunspell)
|
||||
(gnu packages xorg)
|
||||
(gnu packages cmake)
|
||||
(guix build-system cmake)
|
||||
(gnu packages image)
|
||||
(gnu packages compression)
|
||||
(gnu packages video)
|
||||
(gnu packages pkg-config)
|
||||
(gnu packages qt)
|
||||
(guix licenses))
|
||||
|
||||
(
|
||||
define-public
|
||||
goldendict-ng
|
||||
(package
|
||||
(name "goldendict-ng")
|
||||
(version "23.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(url "https://github.com/xiaoyifang/goldendict-ng.git")
|
||||
(commit "80eb60a138d569210115db3ddb1b626c8932d27e")))
|
||||
(sha256
|
||||
(base32 "1jikpq8l8v0acgnnwnxg4x3w6jhyblmk9qnbamzscclrwq5bybxr"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-some-file
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((cmake (assoc-ref inputs "cmake")))
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("find_package(Threads REQUIRED)")
|
||||
(string-append "find_package(Threads REQUIRED)\n"
|
||||
"set(CMAKE_CXX_STANDARD 11)\n"
|
||||
"set(CMAKE_CXX_STANDARD_REQUIRED ON)\n"
|
||||
"set(CMAKE_CXX_EXTENSIONS OFF)")))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
(list
|
||||
cmake pkg-config))
|
||||
(inputs
|
||||
(list libvorbis
|
||||
hunspell
|
||||
xproto
|
||||
libtiff
|
||||
qtbase
|
||||
qtmultimedia
|
||||
qtsvg
|
||||
qttools
|
||||
qtwebengine
|
||||
qtwebview
|
||||
qtx11extras
|
||||
libxtst
|
||||
lzo
|
||||
bzip2
|
||||
git
|
||||
ao
|
||||
ffmpeg))
|
||||
|
||||
(synopsis "A feature-rich dictionary lookup program")
|
||||
(description
|
||||
"GoldenDict is a feature-rich dictionary lookup program,
|
||||
supporting multiple dictionary formats (StarDict, Babylon, Lingvo, Dictd, AARD,
|
||||
MDict, SDict) and online dictionaries, featuring perfect article rendering with
|
||||
the complete markup, illustrations and other content retained, and allowing you
|
||||
to type in words without any accents or correct case.")
|
||||
(home-page "http://goldendict.org/")
|
||||
(license gpl3+)))
|
|
@ -0,0 +1,46 @@
|
|||
(define-module (gomicsv))
|
||||
|
||||
(use-modules (guix packages)
|
||||
(gnu packages version-control)
|
||||
(gnu packages gtk)
|
||||
(gnu packages golang)
|
||||
(gnu packages glib)
|
||||
(guix download)
|
||||
(guix build-system gnu)
|
||||
(guix licenses)
|
||||
(guix git-download))
|
||||
|
||||
(define-public gomicsv
|
||||
(package
|
||||
(name "gomicsv")
|
||||
(version "0.2")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/KonstantinDjairo/suckless_dictpopup.git")
|
||||
(commit "5309e184d0a68bad266ca0f4bef7c3d73ccc5eef")))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256 (base32 "18dv3fr9xanhj1crs9xs5xhvvl005ivjfph9l7psa9b3r55s764j"))))
|
||||
(inputs
|
||||
(list git gtk+ go gdk-pixbuf glib ))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'set-prefix-in-makefile
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Modify the makefile so that its
|
||||
;; 'PREFIX' variable points to "out".
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute* "Makefile"
|
||||
(("PREFIX =.*")
|
||||
(string-append "PREFIX = "
|
||||
out "\n")))))))))
|
||||
(synopsis "Hello, GNU world: An example GNU package")
|
||||
(description
|
||||
"GNU Hello prints the message \"Hello, world!\" and then exits. It
|
||||
serves as an example of standard GNU coding practices. As such, it supports
|
||||
command-line arguments, multiple languages, and so on.")
|
||||
(home-page "https://www.gnu.org/software/hello/")
|
||||
(license gpl3+)))
|
|
@ -0,0 +1,28 @@
|
|||
(define-module (manga-ocr))
|
||||
|
||||
|
||||
(define-public manga-ocr
|
||||
(package
|
||||
(name "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)
|
||||
(propagated-inputs (list python-fire
|
||||
python-fugashi
|
||||
python-jaconv
|
||||
python-loguru
|
||||
python-numpy
|
||||
python-pillow
|
||||
python-pyperclip
|
||||
python-torch
|
||||
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)))
|
|
@ -0,0 +1,42 @@
|
|||
(define-module (sselp))
|
||||
|
||||
(use-modules (guix packages)
|
||||
(gnu packages version-control)
|
||||
(guix download)
|
||||
(guix build-system gnu)
|
||||
(guix licenses))
|
||||
|
||||
(define-public sselp
|
||||
(package
|
||||
(name "sselp")
|
||||
(version "0.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://dl.suckless.org/tools/sselp-" version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"08mqp00lrh1chdrbs18qr0xv63h866lkmfj87kfscwdm1vn9a3yd"))))
|
||||
(build-system gnu-build-system)
|
||||
|
||||
(arguments
|
||||
|
||||
; '( #:make-flags '("CC=gcc"))
|
||||
'( #:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'set-prefix-in-makefile
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Modify the makefile so that its
|
||||
;; 'PREFIX' variable points to "out".
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute* "Makefile"
|
||||
(("PREFIX =.*")
|
||||
(string-append "PREFIX = "
|
||||
out "\n")))))))))
|
||||
(synopsis "Hello, GNU world: An example GNU package")
|
||||
(description
|
||||
"GNU Hello prints the message \"Hello, world!\" and then exits. It
|
||||
serves as an example of standard GNU coding practices. As such, it supports
|
||||
command-line arguments, multiple languages, and so on.")
|
||||
(home-page "https://www.gnu.org/software/hello/")
|
||||
(license gpl3+)))
|
|
@ -0,0 +1,34 @@
|
|||
(define-module
|
||||
(xmake))
|
||||
|
||||
(use-modules
|
||||
(guix packages)
|
||||
(gnu packages version-control)
|
||||
(guix download)
|
||||
(guix git-download)
|
||||
(guix build-system gnu)
|
||||
(guix licenses))
|
||||
|
||||
(define-public xmake
|
||||
|
||||
(package
|
||||
(name "xmake")
|
||||
(version "0.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
( git-reference
|
||||
(url "https://github.com/xmake-io/xmake/")
|
||||
(commit "8545a9301139aa8a778c4b61a1a3b6eaf40385e5")))
|
||||
(sha256
|
||||
(base32
|
||||
"1w38dbcv9frhgvakggdswx051pn5mmg278pp8fi9snxzlv77f1lc"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "Hello, GNU world: An example GNU package")
|
||||
(description
|
||||
"GNU Hello prints the message \"Hello, world!\" and then exits. It
|
||||
serves as an example of standard GNU coding practices. As such, it supports
|
||||
command-line arguments, multiple languages, and so on.")
|
||||
(home-page "https://www.gnu.org/software/hello/")
|
||||
(license gpl3+)))
|
Loading…
Reference in New Issue