+ xo-reflect
This commit is contained in:
parent
820f431d66
commit
c7f5d9d810
4 changed files with 23 additions and 4 deletions
|
|
@ -73,7 +73,7 @@ add_subdirectory(xo-ordinaltree)
|
|||
add_subdirectory(xo-flatstring)
|
||||
add_subdirectory(xo-pyutil)
|
||||
add_subdirectory(xo-reflectutil)
|
||||
#add_subdirectory(xo-reflect)
|
||||
add_subdirectory(xo-reflect)
|
||||
#add_subdirectory(xo-pyreflect)
|
||||
#add_subdirectory(xo-ratio)
|
||||
#add_subdirectory(xo-unit)
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ let
|
|||
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-reflect = self.callPackage pkgs/xo-reflect.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 {};
|
||||
# xo-unit = self.callPackage pkgs/xo-unit.nix {};
|
||||
|
|
|
|||
19
pkgs/xo-reflect.nix
Normal file
19
pkgs/xo-reflect.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
# nixpkgs dependencies
|
||||
stdenv, cmake, catch2,
|
||||
|
||||
# xo dependencies
|
||||
xo-cmake, xo-refcnt, xo-subsys
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation (finalattrs:
|
||||
{
|
||||
name = "xo-reflect";
|
||||
|
||||
src = ../xo-reflect;
|
||||
|
||||
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"];
|
||||
doCheck = true;
|
||||
nativeBuildInputs = [ cmake catch2 xo-cmake ];
|
||||
propagatedBuildInputs = [ xo-subsys xo-refcnt ];
|
||||
})
|
||||
|
|
@ -31,10 +31,10 @@
|
|||
xo-flatstring,
|
||||
xo-pyutil,
|
||||
xo-reflectutil,
|
||||
xo-reflect,
|
||||
# xo-ratio,
|
||||
# xo-unit,
|
||||
# xo-pyunit,
|
||||
# xo-reflect,
|
||||
# xo-pyreflect,
|
||||
# xo-printjson,
|
||||
# xo-pyprintjson,
|
||||
|
|
@ -66,7 +66,7 @@ buildEnv {
|
|||
xo-flatstring
|
||||
xo-pyutil
|
||||
xo-reflectutil
|
||||
# xo-reflect
|
||||
xo-reflect
|
||||
# xo-pyreflect
|
||||
# xo-ratio
|
||||
# xo-unit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue