rdricpp/tests/rdricpp.scm
2024-02-14 01:25:34 -08:00

104 lines
2.6 KiB
Scheme

(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")
(source (local-file "./Catch2-3.5.2" "guile-checkout"
#:recursive? #t))
(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 "269b0e679e05fecf6d5b25ce8a105caa94361de5")))
(sha256
(base32 "1db9wq9k2vsygwks0qp1bb4i4bpdklhz7h4iv5x24k17hwxkbjyh"))))
(build-system cmake-build-system)
(arguments
( list #:cmake cmake
;;#:tests? #f
)
)
(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