+ xo-subsys

This commit is contained in:
Roland Conybeare 2025-05-10 18:40:20 -05:00
commit 3c981b70d8
3 changed files with 23 additions and 3 deletions

View file

@ -40,7 +40,7 @@ let
xo-cmake = self.callPackage pkgs/xo-cmake.nix {};
xo-indentlog = self.callPackage pkgs/xo-indentlog.nix {};
xo-refcnt = self.callPackage pkgs/xo-refcnt.nix {};
# xo-subsys = self.callPackage pkgs/xo-subsys.nix {};
xo-subsys = self.callPackage pkgs/xo-subsys.nix {};
# xo-randomgen = self.callPackage pkgs/xo-randomgen.nix {};
# xo-ordinaltree = self.callPackage pkgs/xo-ordinaltree.nix {};
# xo-pyutil = self.callPackage pkgs/xo-pyutil.nix {};

20
pkgs/xo-subsys.nix Normal file
View file

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

View file

@ -25,7 +25,7 @@
xo-cmake,
xo-indentlog,
xo-refcnt,
# xo-subsys,
xo-subsys,
# xo-randomgen,
# xo-ordinaltree,
# xo-flatstring,
@ -60,7 +60,7 @@ buildEnv {
paths = [ xo-cmake
xo-indentlog
xo-refcnt
# xo-subsys
xo-subsys
# xo-randomgen
# xo-ordinaltree
# xo-pyutil