2021-08-22 06:40:56 -05:00
|
|
|
{ version, meta }:
|
|
|
|
|
2021-10-26 16:10:09 -05:00
|
|
|
{ lib, stdenv, python3, 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
|
|
|
|
2021-10-26 16:10:09 -05:00
|
|
|
let boostWithPython = boost.override { enablePython = true; python = python3; }; in
|
2021-08-22 06:40:56 -05:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "coriolis-lefdef";
|
|
|
|
|
|
|
|
src = ../lefdef;
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-10-26 16:10:09 -05:00
|
|
|
buildInputs = [ python3 boostWithPython coriolis-bootstrap bison flex zlib ];
|
2021-08-22 06:40:56 -05:00
|
|
|
nativeBuildInputs = [ cmake ninja ];
|
|
|
|
|
2021-08-31 10:47:12 -05:00
|
|
|
inherit version;
|
|
|
|
|
|
|
|
meta = meta // { license = lib.licenses.apsl20; };
|
2021-08-22 06:40:56 -05:00
|
|
|
}
|