coriolis/nix/equinox.nix

25 lines
532 B
Nix
Raw Normal View History

2021-10-06 11:07:46 -05:00
{ version, meta, ... }:
2021-08-27 10:07:38 -05:00
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:07:38 -05:00
, coriolis-crlcore, qt4 }:
2021-10-26 16:10:09 -05:00
let boostWithPython = boost.override { enablePython = true; python = python3; }; in
2021-08-27 10:07:38 -05:00
stdenv.mkDerivation {
pname = "coriolis-equinox";
src = ../equinox;
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:07:38 -05:00
qt4
];
nativeBuildInputs = [ cmake ninja ];
2021-10-06 11:07:46 -05:00
inherit version;
2021-10-26 15:38:19 -05:00
meta = meta // { license = lib.licenses.gpl2Plus; };
2021-08-27 10:07:38 -05:00
}