coriolis/nix/equinox.nix

25 lines
532 B
Nix

{ version, meta, ... }:
{ lib, stdenv, cmake, ninja, python3, boost
, coriolis-bootstrap, coriolis-hurricane
, coriolis-crlcore, qt4 }:
let boostWithPython = boost.override { enablePython = true; python = python3; }; in
stdenv.mkDerivation {
pname = "coriolis-equinox";
src = ../equinox;
buildInputs = [
python3 boostWithPython coriolis-bootstrap
coriolis-hurricane coriolis-crlcore
qt4
];
nativeBuildInputs = [ cmake ninja ];
inherit version;
meta = meta // { license = lib.licenses.gpl2Plus; };
}