2021-08-27 10:10:28 -05:00
|
|
|
{ version, meta }:
|
|
|
|
|
2021-10-26 16:10:09 -05:00
|
|
|
{ lib, stdenv, cmake, ninja, python3, boost
|
2021-10-26 16:35:18 -05:00
|
|
|
, coriolis-bootstrap, coriolis-hurricane
|
2021-08-27 10:10:28 -05:00
|
|
|
, coriolis-crlcore, coriolis-flute, qt4 }:
|
|
|
|
|
2021-10-26 16:10:09 -05:00
|
|
|
let boostWithPython = boost.override { enablePython = true; python = python3; }; in
|
2021-08-27 10:10:28 -05:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "coriolis-knik";
|
|
|
|
|
|
|
|
src = ../knik;
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-10-26 16:10:09 -05:00
|
|
|
python3 boostWithPython coriolis-bootstrap
|
2021-10-26 16:35:18 -05:00
|
|
|
coriolis-hurricane coriolis-crlcore
|
2021-08-27 10:10:28 -05:00
|
|
|
coriolis-flute qt4
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ninja ];
|
|
|
|
|
2021-10-06 11:07:46 -05:00
|
|
|
inherit version;
|
|
|
|
|
|
|
|
meta = meta // { license = lib.licenses.gpl2Plus; };
|
2021-08-27 10:10:28 -05:00
|
|
|
}
|