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