diff --git a/flake.nix b/flake.nix index 08a1568e..b6b9b7ec 100644 --- a/flake.nix +++ b/flake.nix @@ -36,7 +36,7 @@ components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "cumulus" "flute" "etesian" "anabatic" "coloquinte" - "katana" "bora" + "katana" "bora" "equinox" ]; in diff --git a/nix/equinox.nix b/nix/equinox.nix new file mode 100644 index 00000000..79dff9b3 --- /dev/null +++ b/nix/equinox.nix @@ -0,0 +1,22 @@ +{ version, meta }: + +{ lib, stdenv, cmake, ninja, python2, boost +, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane +, coriolis-crlcore, qt4 }: + +let boostWithPython = boost.override { enablePython = true; python = python2; }; in + +stdenv.mkDerivation { + pname = "coriolis-equinox"; + + src = ../equinox; + + buildInputs = [ + python2 boostWithPython coriolis-bootstrap + coriolis-vlsisapd coriolis-hurricane coriolis-crlcore + qt4 + ]; + nativeBuildInputs = [ cmake ninja ]; + + inherit version meta; +}