+ xo-unit

This commit is contained in:
Roland Conybeare 2025-05-11 00:57:37 -05:00
commit cb2ce5a5b8
5 changed files with 35 additions and 4 deletions

28
pkgs/xo-unit.nix Normal file
View file

@ -0,0 +1,28 @@
{
# dependencies
stdenv, cmake, catch2, doxygen,
python3Packages,
sphinx,
xo-cmake, xo-ratio, xo-flatstring,
} :
stdenv.mkDerivation (finalattrs:
{
name = "xo-unit";
version = "1.0";
src = ../xo-unit;
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"];
doCheck = true;
propagatedBuildInputs = [ xo-ratio xo-flatstring ];
nativeBuildInputs = [ cmake
catch2
doxygen
sphinx
xo-cmake
#python3Packages.sphinx-rtd-theme
];
})

View file

@ -34,7 +34,7 @@
xo-reflect,
xo-pyreflect,
xo-ratio,
# xo-unit,
xo-unit,
# xo-pyunit,
# xo-printjson,
# xo-pyprintjson,
@ -69,7 +69,7 @@ buildEnv {
xo-reflect
xo-pyreflect
xo-ratio
# xo-unit
xo-unit
# xo-pyunit
# xo-expression
# xo-pyexpression