2021-08-22 06:40:56 -05:00
|
|
|
{ version, meta }:
|
|
|
|
|
2021-08-27 12:20:48 -05:00
|
|
|
{ lib, stdenv, python2, cmake, boost, qt4, ninja, coriolis-bootstrap, doxygen }:
|
2021-08-22 06:40:56 -05:00
|
|
|
|
|
|
|
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "coriolis-coloquinte";
|
|
|
|
|
|
|
|
src = ../coloquinte;
|
|
|
|
|
|
|
|
buildInputs = [ boostWithPython coriolis-bootstrap qt4 ];
|
2021-08-27 12:20:48 -05:00
|
|
|
nativeBuildInputs = [ cmake ninja doxygen ];
|
2021-08-22 06:40:56 -05:00
|
|
|
|
2021-09-01 12:39:00 -05:00
|
|
|
cmakeFlags = [ "-DWITH_OPENMP:STRING=TRUE" ];
|
|
|
|
|
2021-10-06 11:07:46 -05:00
|
|
|
inherit version;
|
|
|
|
|
|
|
|
meta = meta // { license = lib.licenses.gpl2Plus; };
|
2021-08-22 06:40:56 -05:00
|
|
|
}
|