diff --git a/flake.nix b/flake.nix index 6f8f35ca..f2791a06 100644 --- a/flake.nix +++ b/flake.nix @@ -37,7 +37,7 @@ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "cumulus" "flute" "etesian" "anabatic" "coloquinte" "katana" "bora" "equinox" "knik" "katabatic" "ispd" - "karakaze" "kite" "nimbus" + "karakaze" "kite" "nimbus" "metis" "mauka" ]; in diff --git a/nix/mauka.nix b/nix/mauka.nix new file mode 100644 index 00000000..3663c3be --- /dev/null +++ b/nix/mauka.nix @@ -0,0 +1,24 @@ +{ version, meta }: + +{ lib, stdenv, cmake, ninja, python2, qt4, coriolis-crlcore +, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane +, coriolis-nimbus, coriolis-metis, doxygen, boost }: + +let boostWithPython = boost.override { enablePython = true; python = python2; }; in + +stdenv.mkDerivation { + pname = "coriolis-mauka"; + + src = ../mauka; + + buildInputs = [ + python2 coriolis-bootstrap coriolis-vlsisapd coriolis-nimbus + coriolis-crlcore coriolis-hurricane qt4 boostWithPython + coriolis-metis + ]; + nativeBuildInputs = [ cmake ninja doxygen ]; + + inherit version; + + meta = meta // { broken = true; }; +} diff --git a/nix/metis.nix b/nix/metis.nix new file mode 100644 index 00000000..1871dc00 --- /dev/null +++ b/nix/metis.nix @@ -0,0 +1,23 @@ +{ version, meta }: + +{ lib, stdenv, cmake, ninja, python2, qt4, coriolis-crlcore +, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane +, coriolis-nimbus, doxygen, boost }: + +let boostWithPython = boost.override { enablePython = true; python = python2; }; in + +stdenv.mkDerivation { + pname = "coriolis-metis"; + + src = ../metis; + + buildInputs = [ + python2 coriolis-bootstrap coriolis-vlsisapd coriolis-nimbus + coriolis-crlcore coriolis-hurricane qt4 boostWithPython + ]; + nativeBuildInputs = [ cmake ninja doxygen ]; + + inherit version; + + meta = meta // { broken = true; }; +}