nix build: + xo-stringtable2
This commit is contained in:
parent
9b9262f84b
commit
af95656cc8
1 changed files with 34 additions and 0 deletions
34
pkgs/xo-stringtable2.nix
Normal file
34
pkgs/xo-stringtable2.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
# nixpkgs dependencies
|
||||
stdenv, cmake, catch2,
|
||||
|
||||
# xo dependencies
|
||||
xo-alloc2,
|
||||
xo-printable2,
|
||||
xo-arena,
|
||||
xo-cmake,
|
||||
# xo-reflectutil,
|
||||
# xo-indentlog,
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation (finalattrs:
|
||||
{
|
||||
name = "xo-stringtable2";
|
||||
|
||||
src = ../xo-stringtable2;
|
||||
|
||||
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"
|
||||
"-DENABLE_TESTING=1"
|
||||
];
|
||||
doCheck = true;
|
||||
nativeBuildInputs = [
|
||||
cmake catch2 xo-cmake
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
xo-alloc2
|
||||
xo-printable2
|
||||
xo-arena
|
||||
# xo-reflectutil
|
||||
# xo-indentlog
|
||||
];
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue