+ xo-ratio
This commit is contained in:
parent
92df7ca236
commit
e9ee6992ca
5 changed files with 37 additions and 6 deletions
4
.github/workflows/main-stock-ubuntu.yml
vendored
4
.github/workflows/main-stock-ubuntu.yml
vendored
|
|
@ -93,8 +93,8 @@ jobs:
|
|||
echo "::group::xo-pyreflect build"
|
||||
cmake --build .build -- xo-pyreflect
|
||||
|
||||
#echo "::group::xo-ratio build"
|
||||
#cmake --build .build -- xo-ratio
|
||||
echo "::group::xo-ratio build"
|
||||
cmake --build .build -- xo-ratio
|
||||
|
||||
echo "::group::xo build (catch all)"
|
||||
cmake --build .build #--verbose
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ add_subdirectory(xo-pyutil)
|
|||
add_subdirectory(xo-reflectutil)
|
||||
add_subdirectory(xo-reflect)
|
||||
add_subdirectory(xo-pyreflect)
|
||||
#add_subdirectory(xo-ratio)
|
||||
add_subdirectory(xo-ratio)
|
||||
#add_subdirectory(xo-unit)
|
||||
#add_subdirectory(xo-pyunit)
|
||||
#add_subdirectory(xo-expression)
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ let
|
|||
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 {};
|
||||
xo-ratio = self.callPackage pkgs/xo-ratio.nix {};
|
||||
# xo-unit = self.callPackage pkgs/xo-unit.nix {};
|
||||
# xo-pyunit = self.callPackage pkgs/xo-pyunit.nix {};
|
||||
# xo-expression = self.callPackage pkgs/xo-expression.nix {};
|
||||
|
|
|
|||
31
pkgs/xo-ratio.nix
Normal file
31
pkgs/xo-ratio.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
# dependencies
|
||||
stdenv, cmake, #catch2,
|
||||
doxygen,
|
||||
|
||||
python3Packages,
|
||||
|
||||
sphinx,
|
||||
|
||||
xo-cmake, xo-flatstring, xo-reflectutil,
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation (finalattrs:
|
||||
{
|
||||
name = "xo-ratio";
|
||||
version = "1.0";
|
||||
|
||||
src = ../xo-ratio;
|
||||
|
||||
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"];
|
||||
doCheck = true;
|
||||
nativeBuildInputs = [ cmake
|
||||
#catch2
|
||||
doxygen
|
||||
sphinx
|
||||
# python3Packages.sphinx-rtd-theme
|
||||
xo-cmake
|
||||
xo-flatstring
|
||||
xo-reflectutil
|
||||
];
|
||||
})
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
xo-reflectutil,
|
||||
xo-reflect,
|
||||
xo-pyreflect,
|
||||
# xo-ratio,
|
||||
xo-ratio,
|
||||
# xo-unit,
|
||||
# xo-pyunit,
|
||||
# xo-printjson,
|
||||
|
|
@ -68,7 +68,7 @@ buildEnv {
|
|||
xo-reflectutil
|
||||
xo-reflect
|
||||
xo-pyreflect
|
||||
# xo-ratio
|
||||
xo-ratio
|
||||
# xo-unit
|
||||
# xo-pyunit
|
||||
# xo-expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue