nix-build: + xo-printable2
This commit is contained in:
parent
d6c5ee911f
commit
734c06c8a9
2 changed files with 60 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ let
|
|||
xo-pyunit = self.callPackage pkgs/xo-pyunit.nix {};
|
||||
#
|
||||
xo-callback = self.callPackage pkgs/xo-callback.nix {};
|
||||
xo-printable2 = self.callPackage pkgs/xo-printable2.nix {};
|
||||
xo-webutil = self.callPackage pkgs/xo-webutil.nix {};
|
||||
xo-pywebutil = self.callPackage pkgs/xo-pywebutil.nix {};
|
||||
xo-printjson = self.callPackage pkgs/xo-printjson.nix {};
|
||||
|
|
@ -498,6 +499,7 @@ in
|
|||
unit = pkgs.xo-unit;
|
||||
pyunit = pkgs.xo-pyunit;
|
||||
callback = pkgs.xo-callback;
|
||||
printable2 = pkgs.xo-printable2;
|
||||
webutil = pkgs.xo-webutil;
|
||||
pywebutil = pkgs.xo-pywebutil;
|
||||
printjson = pkgs.xo-printjson;
|
||||
|
|
|
|||
58
pkgs/xo-printable2.nix
Normal file
58
pkgs/xo-printable2.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
# nixpkgs dependencies
|
||||
lib, stdenv, cmake, catch2,
|
||||
doxygen,
|
||||
|
||||
python3Packages,
|
||||
|
||||
sphinx, graphviz,
|
||||
|
||||
# xo dependencies
|
||||
xo-facet,
|
||||
# xo-randomgen,
|
||||
# xo-reflectutil,
|
||||
# xo-indentlog,
|
||||
xo-cmake,
|
||||
|
||||
# buildDocs ? false,
|
||||
# doCheck ? true,
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation (finalattrs:
|
||||
{
|
||||
name = "xo-printable2";
|
||||
|
||||
src = ../xo-printable2;
|
||||
|
||||
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"]
|
||||
# ++ lib.optionals buildDocs ["-DXO_ENABLE_DOCS=on"]
|
||||
# ++ ["-DENABLE_TESTING=1"];
|
||||
;
|
||||
|
||||
# inherit buildDocs;
|
||||
# inherit doCheck;
|
||||
|
||||
# postBuild = lib.optionalString buildDocs ''
|
||||
# cmake --build . -- docs
|
||||
# '';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake catch2
|
||||
xo-cmake
|
||||
# xo-randomgen
|
||||
# ] ++ lib.optionals buildDocs [
|
||||
# doxygen
|
||||
# sphinx
|
||||
# graphviz
|
||||
# python3Packages.sphinx-rtd-theme
|
||||
# python3Packages.breathe
|
||||
# python3Packages.sphinxcontrib-ditaa
|
||||
# python3Packages.sphinxcontrib-plantuml
|
||||
# python3Packages.pillow
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
xo-facet
|
||||
# xo-reflectutil
|
||||
# xo-indentlog
|
||||
];
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue