+ xo-reflectutil

This commit is contained in:
Roland Conybeare 2025-05-10 20:15:26 -05:00
commit 8111f3846c
4 changed files with 25 additions and 4 deletions

View file

@ -72,7 +72,7 @@ add_subdirectory(xo-randomgen)
add_subdirectory(xo-ordinaltree)
add_subdirectory(xo-flatstring)
add_subdirectory(xo-pyutil)
#add_subdirectory(xo-reflectutil)
add_subdirectory(xo-reflectutil)
#add_subdirectory(xo-reflect)
#add_subdirectory(xo-pyreflect)
#add_subdirectory(xo-ratio)

View file

@ -45,7 +45,7 @@ let
xo-ordinaltree = self.callPackage pkgs/xo-ordinaltree.nix {};
xo-flatstring = self.callPackage pkgs/xo-flatstring.nix {};
xo-pyutil = self.callPackage pkgs/xo-pyutil.nix {};
# xo-reflectutil = self.callPackage pkgs/xo-reflectutil.nix {};
xo-reflectutil = self.callPackage pkgs/xo-reflectutil.nix {};
# xo-reflect = self.callPackage pkgs/xo-reflect.nix {};
# xo-pyreflect = self.callPackage pkgs/xo-pyreflect.nix {};
# xo-ratio = self.callPackage pkgs/xo-ratio.nix {};

21
pkgs/xo-reflectutil.nix Normal file
View file

@ -0,0 +1,21 @@
{
# dependencies
stdenv, cmake, #catch2,
xo-cmake, xo-flatstring,
} :
stdenv.mkDerivation (finalattrs:
{
name = "xo-reflectutil";
version = "1.0";
src = ../xo-reflectutil;
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"];
doCheck = true;
nativeBuildInputs = [ cmake #catch2
xo-cmake
xo-flatstring
];
})

View file

@ -30,7 +30,7 @@
xo-ordinaltree,
xo-flatstring,
xo-pyutil,
# xo-reflectutil,
xo-reflectutil,
# xo-ratio,
# xo-unit,
# xo-pyunit,
@ -65,7 +65,7 @@ buildEnv {
xo-ordinaltree
xo-flatstring
xo-pyutil
# xo-reflectutil
xo-reflectutil
# xo-reflect
# xo-pyreflect
# xo-ratio