unicorn, tutorial, kite, katabatic, bora

This commit is contained in:
Las Safin 2021-08-29 19:58:10 +00:00
parent eeba236c36
commit b5b4f0a633
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
8 changed files with 99 additions and 121 deletions

View File

@ -39,15 +39,15 @@
pythonComponents = [
"vlsisapd" "hurricane" "crlcore" "flute" "etesian"
"anabatic" "katana"
"anabatic" "katana" "bora" "katabatic" "kite"
"tutorial" "unicorn"
];
components = pythonComponents ++ [
"lefdef" "bootstrap" "cumulus" "coloquinte"
"bora" "equinox" "knik" "katabatic" "ispd"
"karakaze" "kite" "nimbus" "metis" "mauka" "oroshi"
"solstice" "stratus1" "tutorial" "unicorn" "documentation"
"unittests"
"equinox" "knik" "ispd" "karakaze" "nimbus"
"metis" "mauka" "oroshi" "solstice" "stratus1"
"documentation" "unittests"
];
commonArgs = { inherit version meta generic; };

View File

@ -1,25 +1,19 @@
{ version, meta }:
{ generic, ... }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-katana
, coriolis-flute, coriolis-anabatic
, coriolis-lefdef, qwt6_qt4, doxygen }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-bora";
src = ../bora;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katana qt4 coriolis-flute coriolis-anabatic
coriolis-lefdef qwt6_qt4
];
nativeBuildInputs = [ cmake ninja doxygen ];
inherit version meta;
}
let pkg =
{ coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-katana
, coriolis-flute, coriolis-anabatic
, coriolis-lefdef, qwt6_qt4, doxygen }:
{
name = "bora";
src = ../bora;
buildInputs = [
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katana qt4 coriolis-flute coriolis-anabatic
coriolis-lefdef qwt6_qt4
];
nativeBuildInputs = [ doxygen ];
pythonImportsCheck = "Bora";
};
in generic pkg

View File

@ -8,6 +8,9 @@ let pkg =
qt4 coriolis-coloquinte coriolis-vlsisapd
coriolis-hurricane coriolis-crlcore
];
propagatedBuildInputs = [
coriolis-coloquinte
];
nativeBuildInputs = [ doxygen ];
pythonImportsCheck = [ "Etesian" ];
};

View File

@ -7,6 +7,7 @@ let f =
, src
, buildInputs ? []
, nativeBuildInputs ? []
, propagatedBuildInputs ? []
, pythonImportsCheck
}:
let
@ -19,6 +20,7 @@ let f =
coriolis-bootstrap cmake ninja
python2Packages.pythonImportsCheckHook
] ++ nativeBuildInputs;
inherit propagatedBuildInputs;
preInstall = ''
export PYTHONPATH="$out/${python2Packages.python.sitePackages}:$PYTHONPATH"

View File

@ -1,23 +1,18 @@
{ version, meta }:
{ generic, ... }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, coriolis-flute, coriolis-knik
, qt4, doxygen }:
let pkg =
{ coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, coriolis-flute, coriolis-knik
, qt4, doxygen }:
{
name = "katabatic";
src = ../katabatic;
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-katabatic";
src = ../katabatic;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-flute coriolis-knik qt4
];
nativeBuildInputs = [ cmake ninja doxygen ];
inherit version meta;
}
buildInputs = [
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-flute coriolis-knik qt4
];
nativeBuildInputs = [ doxygen ];
pythonImportsCheck = [ "Katabatic" ];
};
in generic pkg

View File

@ -1,24 +1,18 @@
{ version, meta }:
{ generic, ... }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-lefdef, coriolis-knik, coriolis-katabatic
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-flute, libxml2, doxygen }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-kite";
src = ../kite;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katabatic qt4 coriolis-flute coriolis-knik libxml2
coriolis-lefdef
];
nativeBuildInputs = [ cmake ninja doxygen ];
inherit version meta;
}
let pkg =
{ coriolis-lefdef, coriolis-knik, coriolis-katabatic
, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-flute, libxml2, doxygen }:
{
name = "kite";
src = ../kite;
buildInputs = [
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katabatic qt4 coriolis-flute coriolis-knik libxml2
coriolis-lefdef
];
nativeBuildInputs = [ doxygen ];
pythonImportsCheck = [ "Kite" ];
};
in generic pkg

View File

@ -1,23 +1,18 @@
{ version, meta }:
{ generic, ... }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-lefdef, libxml2
, doxygen }:
let pkg =
{ coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-lefdef, libxml2
, doxygen }:
{
name = "tutorial";
src = ../tutorial;
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-tutorial";
src = ../tutorial;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-lefdef libxml2 qt4
];
nativeBuildInputs = [ cmake ninja doxygen ];
inherit version meta;
}
buildInputs = [
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-lefdef libxml2 qt4
];
nativeBuildInputs = [ doxygen ];
pythonImportsCheck = [ "Tutorial" ];
};
in generic pkg

View File

@ -1,29 +1,24 @@
{ version, meta }:
{ generic, ... }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-katana
, coriolis-flute, coriolis-anabatic, coriolis-coloquinte
, coriolis-lefdef, coriolis-knik, coriolis-kite
, coriolis-katabatic, coriolis-etesian, coriolis-equinox
, coriolis-solstice, libxml2, doxygen }:
let pkg =
{ coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-katana
, coriolis-flute, coriolis-anabatic, coriolis-coloquinte
, coriolis-lefdef, coriolis-knik, coriolis-kite
, coriolis-katabatic, coriolis-etesian, coriolis-equinox
, coriolis-solstice, libxml2, doxygen }:
{
name = "unicorn";
src = ../unicorn;
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-unicorn";
src = ../unicorn;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katana qt4 coriolis-flute coriolis-anabatic
coriolis-lefdef libxml2 coriolis-knik coriolis-kite
coriolis-katabatic coriolis-etesian coriolis-equinox
coriolis-solstice
];
nativeBuildInputs = [ cmake ninja doxygen ];
inherit version meta;
}
buildInputs = [
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katana qt4 coriolis-flute coriolis-anabatic
coriolis-lefdef libxml2 coriolis-knik coriolis-kite
coriolis-katabatic coriolis-etesian coriolis-equinox
coriolis-solstice
];
nativeBuildInputs = [ doxygen ];
pythonImportsCheck = [ "Unicorn" ];
};
in generic pkg