2021-08-22 06:40:56 -05:00
|
|
|
{ version, meta }:
|
|
|
|
|
|
|
|
{ lib, stdenv, python2, cmake, boost, bison, flex
|
2021-08-23 03:44:07 -05:00
|
|
|
, libxml2, zlib, ninja, coriolis-bootstrap }:
|
2021-08-22 06:40:56 -05:00
|
|
|
|
|
|
|
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "coriolis-lefdef";
|
|
|
|
|
|
|
|
src = ../lefdef;
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${coriolis-bootstrap}/share/cmake/Modules" ];
|
|
|
|
|
|
|
|
buildInputs = [ python2 boostWithPython coriolis-bootstrap bison flex zlib ];
|
|
|
|
nativeBuildInputs = [ cmake ninja ];
|
|
|
|
|
|
|
|
inherit version meta;
|
|
|
|
}
|