gd-tools/gd-tools.scm

183 lines
4.8 KiB
Scheme
Raw Normal View History

2024-02-07 20:32:30 +00:00
(define-module (gd-tools)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages search)
#:use-module (gnu packages web)
#:use-module (gnu packages gcc)
#:use-module (gnu packages tls)
#:use-module (gnu packages cpp)
#:use-module (gnu packages glib)
#:use-module (gnu packages nss)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages certs)
#:use-module (gnu packages check)
#:use-module (guix build-system qt)
#:use-module (gnu packages curl)
#:use-module (guix utils)
#:use-module (guix search-paths)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:))
(define-public catch2-full
(package
(name "Catch2")
(version "3.5.2")
2024-02-14 12:17:31 +00:00
(source (origin
(method url-fetch)
(uri "https://github.com/catchorg/Catch2/archive/refs/tags/v3.5.2.tar.gz")
(sha256 (base32 "0vhc8zg69idw8lp7vr4hdkhsf9scqba33wizz6rl0vxpksj47596"))))
2024-02-07 20:32:30 +00:00
(build-system cmake-build-system)
2024-02-14 12:17:31 +00:00
(arguments ( list #:cmake cmake #:tests? #f))
2024-02-07 20:32:30 +00:00
(native-inputs
2024-02-14 12:17:31 +00:00
(list gcc-13 pkg-config))
2024-02-07 20:32:30 +00:00
2024-02-14 12:17:31 +00:00
(synopsis "Catch2 testing for C++")
2024-02-07 20:32:30 +00:00
(description
2024-02-14 12:17:31 +00:00
"Catch2 is mainly a unit testing framework for C++, but it also
2024-02-07 20:32:30 +00:00
provides basic micro-benchmarking features, and simple BDD macros.
Catch2's main advantage is that using it is both simple and natural.
Test names do not have to be valid identifiers, assertions look like
normal C++ boolean expressions, and sections provide a nice and local
way to share set-up and tear-down code in tests.")
(home-page "https://github.com/catchorg/Catch2")
(license
(list license:boost1.0))))
2024-02-14 12:34:09 +00:00
;;FIXME Cpr should be packaged properly
2024-02-07 20:32:30 +00:00
(define-public libcpr
(package
(name "cpr")
(version "1.5")
(source (local-file "./cpr-1.10.5" "guile-checkout"
#:recursive? #t))
(build-system cmake-build-system)
(arguments
2024-02-14 12:17:31 +00:00
( list #:cmake cmake #:tests? #f
))
2024-02-07 20:32:30 +00:00
(native-inputs
(list
openssl
gcc-13
curl
pkg-config
))
2024-02-14 12:17:31 +00:00
2024-02-07 20:32:30 +00:00
(inputs
(list
curl
openssl
))
(synopsis "C++ Requests: Curl for People ")
(description
"C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.
Despite its name, libcurl's easy interface is anything but, and making mistakes,
misusing it is a common source of error and frustration. Using the more expressive
language facilities of C++17 'or C++11 in case you use cpr < 1.10.0', this library
captures the essence of making network calls into a few concise idioms.")
(home-page "https://github.com/libcpr/cpr")
(license
(list license:expat))))
(define-public rdricpp
(package
(name "rdricpp")
(version "1.5")
2024-02-14 12:17:31 +00:00
(source
2024-02-14 12:34:09 +00:00
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/xieamoe/rdricpp.git")
(commit "26b4b518d6")))
(sha256 (base32 "0c62g68gp0ya2v9rfszrm7mxsn0anj53sfcvwav88gbws6hxriih"))))
2024-02-14 12:17:31 +00:00
2024-02-07 20:32:30 +00:00
(build-system cmake-build-system)
(arguments
( list #:cmake cmake
2024-02-14 12:17:31 +00:00
#:tests? #f
#:configure-flags
#~(list "-DGUIX=1") ))
2024-02-07 20:32:30 +00:00
(native-inputs
2024-02-14 12:17:31 +00:00
(list gcc-13 pkg-config))
2024-02-07 20:32:30 +00:00
(inputs
2024-02-14 12:17:31 +00:00
(list catch2-full))
2024-02-07 20:32:30 +00:00
(synopsis "Rikaitan Deinflector Reference Implementation in C++.")
(description
"Rikaitan Deinflector Reference Implementation in C++.")
2024-02-07 20:40:57 +00:00
(home-page "https://codeberg.org/hashirama/rdricpp")
2024-02-07 20:32:30 +00:00
(license
(list license:gpl3+
license:zlib))))
(define-public gd-tools
(package
(name "gd-tools")
(version "1.5")
2024-02-14 12:34:09 +00:00
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/xieamoe/gd-tools-plus.git")
(commit "71da66e0f1")))
(sha256 (base32 "0nys30qy5930004j7xnipxbn9d9k4xgbv7lzcdkrm9mapjzryh95"))))
2024-02-07 20:32:30 +00:00
(build-system cmake-build-system)
(arguments
( list #:cmake cmake
;;#:tests? #f
2024-02-14 12:17:31 +00:00
#:configure-flags
#~(list "-DGUIX=1")
2024-02-07 20:32:30 +00:00
)
)
(native-inputs
(list
openssl
rdricpp
zlib
glib
gcc-13
curl
pkg-config
))
(inputs
(list
nlohmann-json
curl
openssl
nss-certs
marisa
catch2-full
libcpr
))
(synopsis "A set of helpful programs to enhance goldendict for immersion learning.")
(description
"A set of helpful programs to enhance goldendict for immersion learning.")
2024-02-07 20:40:57 +00:00
(home-page "https://codeberg.org/hashirama/gd-tools/")
2024-02-07 20:32:30 +00:00
(license
(list license:gpl3+
license:zlib))))
2024-02-14 12:17:31 +00:00
gd-tools