(define-module (gd-tools) #: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) #:use-module (gnu packages check) #:use-module ((guix licenses) #:prefix license:)) (define-public catch2-full (package (name "Catch2") (version "3.5.2") (source (origin (method url-fetch) (uri "https://github.com/catchorg/Catch2/archive/refs/tags/v3.5.2.tar.gz") (sha256 (base32 "0vhc8zg69idw8lp7vr4hdkhsf9scqba33wizz6rl0vxpksj47596")))) (build-system cmake-build-system) (arguments ( list #:cmake cmake #:tests? #f )) (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") (commit "26b4b518d6"))) (sha256 (base32 "0c62g68gp0ya2v9rfszrm7mxsn0anj53sfcvwav88gbws6hxriih")))) (build-system cmake-build-system) (arguments ( list #:cmake cmake #:tests? #f #:configure-flags #~(list "-DGUIX=1") )) (native-inputs (list gcc-13 pkg-config )) (inputs (list catch2-full )) (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)))) rdricpp