From d7fe45acd8df4b53a2ac89aaeb333ca65f87b2e5 Mon Sep 17 00:00:00 2001 From: Las Safin Date: Fri, 27 Aug 2021 16:40:10 +0000 Subject: [PATCH] nimbus --- flake.nix | 2 +- nix/nimbus.nix | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 nix/nimbus.nix diff --git a/flake.nix b/flake.nix index 93c22677..6f8f35ca 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" + "karakaze" "kite" "nimbus" ]; in diff --git a/nix/nimbus.nix b/nix/nimbus.nix new file mode 100644 index 00000000..a05e6ed5 --- /dev/null +++ b/nix/nimbus.nix @@ -0,0 +1,23 @@ +{ 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-nimbus"; + + src = ../nimbus; + + buildInputs = [ + python2 coriolis-bootstrap coriolis-vlsisapd + coriolis-crlcore coriolis-hurricane qt4 boostWithPython + ]; + nativeBuildInputs = [ cmake ninja doxygen ]; + + inherit version; + + meta = meta // { broken = true; }; +}