2024-02-14 11:43:15 +00:00
|
|
|
(define-module (gd-tools)
|
2024-02-14 09:25:34 +00:00
|
|
|
#:use-module (gnu packages cmake)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages gcc)
|
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix gexp)
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix packages)
|
2024-02-14 11:43:15 +00:00
|
|
|
#:use-module (gnu packages check)
|
2024-02-14 09:25:34 +00:00
|
|
|
#:use-module ((guix licenses) #:prefix license:))
|
|
|
|
|
|
|
|
(define-public catch2-full
|
|
|
|
(package
|
|
|
|
(name "Catch2")
|
|
|
|
(version "3.5.2")
|
2024-02-14 11:43:15 +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-14 09:25:34 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
( list #:cmake cmake
|
|
|
|
#:tests? #f
|
2024-02-14 11:43:15 +00:00
|
|
|
))
|
2024-02-14 09:25:34 +00:00
|
|
|
|
|
|
|
(native-inputs
|
|
|
|
(list
|
|
|
|
gcc-13
|
|
|
|
pkg-config
|
|
|
|
))
|
|
|
|
|
|
|
|
(synopsis "Catch2 testing for C++")
|
|
|
|
(description
|
|
|
|
"Catch2 is mainly a unit testing framework for C++, but it also
|
|
|
|
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))))
|
|
|
|
|
|
|
|
(define-public rdricpp
|
|
|
|
(package
|
|
|
|
(name "rdricpp")
|
|
|
|
(version "1.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
|
|
|
(url "https://codeberg.org/xieamoe/rdricpp.git")
|
2024-02-14 11:59:07 +00:00
|
|
|
(commit "26b4b518d6")))
|
2024-02-14 09:25:34 +00:00
|
|
|
(sha256
|
2024-02-14 11:59:07 +00:00
|
|
|
(base32 "0c62g68gp0ya2v9rfszrm7mxsn0anj53sfcvwav88gbws6hxriih"))))
|
2024-02-14 09:25:34 +00:00
|
|
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
( list #:cmake cmake
|
2024-02-14 11:59:07 +00:00
|
|
|
#:tests? #f
|
2024-02-14 10:01:59 +00:00
|
|
|
#:configure-flags
|
|
|
|
#~(list "-DGUIX=1")
|
2024-02-14 11:43:15 +00:00
|
|
|
))
|
2024-02-14 09:25:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
(native-inputs
|
|
|
|
(list
|
|
|
|
gcc-13
|
|
|
|
pkg-config
|
|
|
|
))
|
|
|
|
(inputs
|
2024-02-14 11:43:15 +00:00
|
|
|
(list
|
2024-02-14 11:59:07 +00:00
|
|
|
catch2-full
|
2024-02-14 11:43:15 +00:00
|
|
|
))
|
2024-02-14 09:25:34 +00:00
|
|
|
|
|
|
|
(synopsis "Rikaitan Deinflector Reference Implementation in C++.")
|
|
|
|
(description
|
|
|
|
"Rikaitan Deinflector Reference Implementation in C++.")
|
|
|
|
(home-page "https://codeberg.org/hashirama/rdricpp")
|
|
|
|
(license
|
|
|
|
(list license:gpl3+
|
|
|
|
license:zlib))))
|
|
|
|
|
2024-02-14 11:43:15 +00:00
|
|
|
|
|
|
|
|
2024-02-14 09:25:34 +00:00
|
|
|
rdricpp
|
2024-02-14 09:53:46 +00:00
|
|
|
|