diff --git a/flake.nix b/flake.nix index f2791a06..bb6671d8 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" "metis" "mauka" + "karakaze" "kite" "nimbus" "metis" "mauka" "oroshi" ]; in diff --git a/nix/oroshi.nix b/nix/oroshi.nix new file mode 100644 index 00000000..9aba7b57 --- /dev/null +++ b/nix/oroshi.nix @@ -0,0 +1,21 @@ +{ version, meta }: + +{ lib, stdenv, cmake, ninja, python2, qt4, coriolis-crlcore +, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane +, doxygen, boost }: + +let boostWithPython = boost.override { enablePython = true; python = python2; }; in + +stdenv.mkDerivation { + pname = "coriolis-oroshi"; + + src = ../oroshi; + + buildInputs = [ + python2 coriolis-bootstrap coriolis-vlsisapd + coriolis-crlcore coriolis-hurricane qt4 boostWithPython + ]; + nativeBuildInputs = [ cmake ninja doxygen ]; + + inherit version meta; +}