unicorn, tutorial, kite, katabatic, bora
This commit is contained in:
parent
eeba236c36
commit
b5b4f0a633
10
flake.nix
10
flake.nix
|
@ -39,15 +39,15 @@
|
||||||
|
|
||||||
pythonComponents = [
|
pythonComponents = [
|
||||||
"vlsisapd" "hurricane" "crlcore" "flute" "etesian"
|
"vlsisapd" "hurricane" "crlcore" "flute" "etesian"
|
||||||
"anabatic" "katana"
|
"anabatic" "katana" "bora" "katabatic" "kite"
|
||||||
|
"tutorial" "unicorn"
|
||||||
];
|
];
|
||||||
|
|
||||||
components = pythonComponents ++ [
|
components = pythonComponents ++ [
|
||||||
"lefdef" "bootstrap" "cumulus" "coloquinte"
|
"lefdef" "bootstrap" "cumulus" "coloquinte"
|
||||||
"bora" "equinox" "knik" "katabatic" "ispd"
|
"equinox" "knik" "ispd" "karakaze" "nimbus"
|
||||||
"karakaze" "kite" "nimbus" "metis" "mauka" "oroshi"
|
"metis" "mauka" "oroshi" "solstice" "stratus1"
|
||||||
"solstice" "stratus1" "tutorial" "unicorn" "documentation"
|
"documentation" "unittests"
|
||||||
"unittests"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
commonArgs = { inherit version meta generic; };
|
commonArgs = { inherit version meta generic; };
|
||||||
|
|
24
nix/bora.nix
24
nix/bora.nix
|
@ -1,25 +1,19 @@
|
||||||
{ version, meta }:
|
{ generic, ... }:
|
||||||
|
|
||||||
{ lib, stdenv, cmake, ninja, python2, boost
|
let pkg =
|
||||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
{ coriolis-vlsisapd, coriolis-hurricane
|
||||||
, coriolis-crlcore, qt4, coriolis-katana
|
, coriolis-crlcore, qt4, coriolis-katana
|
||||||
, coriolis-flute, coriolis-anabatic
|
, coriolis-flute, coriolis-anabatic
|
||||||
, coriolis-lefdef, qwt6_qt4, doxygen }:
|
, coriolis-lefdef, qwt6_qt4, doxygen }:
|
||||||
|
{
|
||||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
name = "bora";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "coriolis-bora";
|
|
||||||
|
|
||||||
src = ../bora;
|
src = ../bora;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python2 boostWithPython coriolis-bootstrap
|
|
||||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||||
coriolis-katana qt4 coriolis-flute coriolis-anabatic
|
coriolis-katana qt4 coriolis-flute coriolis-anabatic
|
||||||
coriolis-lefdef qwt6_qt4
|
coriolis-lefdef qwt6_qt4
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
nativeBuildInputs = [ doxygen ];
|
||||||
|
pythonImportsCheck = "Bora";
|
||||||
inherit version meta;
|
};
|
||||||
}
|
in generic pkg
|
||||||
|
|
|
@ -8,6 +8,9 @@ let pkg =
|
||||||
qt4 coriolis-coloquinte coriolis-vlsisapd
|
qt4 coriolis-coloquinte coriolis-vlsisapd
|
||||||
coriolis-hurricane coriolis-crlcore
|
coriolis-hurricane coriolis-crlcore
|
||||||
];
|
];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
coriolis-coloquinte
|
||||||
|
];
|
||||||
nativeBuildInputs = [ doxygen ];
|
nativeBuildInputs = [ doxygen ];
|
||||||
pythonImportsCheck = [ "Etesian" ];
|
pythonImportsCheck = [ "Etesian" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,6 +7,7 @@ let f =
|
||||||
, src
|
, src
|
||||||
, buildInputs ? []
|
, buildInputs ? []
|
||||||
, nativeBuildInputs ? []
|
, nativeBuildInputs ? []
|
||||||
|
, propagatedBuildInputs ? []
|
||||||
, pythonImportsCheck
|
, pythonImportsCheck
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -19,6 +20,7 @@ let f =
|
||||||
coriolis-bootstrap cmake ninja
|
coriolis-bootstrap cmake ninja
|
||||||
python2Packages.pythonImportsCheckHook
|
python2Packages.pythonImportsCheckHook
|
||||||
] ++ nativeBuildInputs;
|
] ++ nativeBuildInputs;
|
||||||
|
inherit propagatedBuildInputs;
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
export PYTHONPATH="$out/${python2Packages.python.sitePackages}:$PYTHONPATH"
|
export PYTHONPATH="$out/${python2Packages.python.sitePackages}:$PYTHONPATH"
|
||||||
|
|
|
@ -1,23 +1,18 @@
|
||||||
{ version, meta }:
|
{ generic, ... }:
|
||||||
|
|
||||||
{ lib, stdenv, cmake, ninja, python2, boost
|
let pkg =
|
||||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
{ coriolis-vlsisapd, coriolis-hurricane
|
||||||
, coriolis-crlcore, coriolis-flute, coriolis-knik
|
, coriolis-crlcore, coriolis-flute, coriolis-knik
|
||||||
, qt4, doxygen }:
|
, qt4, doxygen }:
|
||||||
|
{
|
||||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
name = "katabatic";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "coriolis-katabatic";
|
|
||||||
|
|
||||||
src = ../katabatic;
|
src = ../katabatic;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python2 boostWithPython coriolis-bootstrap
|
|
||||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||||
coriolis-flute coriolis-knik qt4
|
coriolis-flute coriolis-knik qt4
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
nativeBuildInputs = [ doxygen ];
|
||||||
|
pythonImportsCheck = [ "Katabatic" ];
|
||||||
inherit version meta;
|
};
|
||||||
}
|
in generic pkg
|
||||||
|
|
26
nix/kite.nix
26
nix/kite.nix
|
@ -1,24 +1,18 @@
|
||||||
{ version, meta }:
|
{ generic, ... }:
|
||||||
|
|
||||||
{ lib, stdenv, cmake, ninja, python2, boost
|
let pkg =
|
||||||
, coriolis-lefdef, coriolis-knik, coriolis-katabatic
|
{ coriolis-lefdef, coriolis-knik, coriolis-katabatic
|
||||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
, coriolis-vlsisapd, coriolis-hurricane
|
||||||
, coriolis-crlcore, qt4, coriolis-flute, libxml2, doxygen }:
|
, coriolis-crlcore, qt4, coriolis-flute, libxml2, doxygen }:
|
||||||
|
{
|
||||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
name = "kite";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "coriolis-kite";
|
|
||||||
|
|
||||||
src = ../kite;
|
src = ../kite;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python2 boostWithPython coriolis-bootstrap
|
|
||||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||||
coriolis-katabatic qt4 coriolis-flute coriolis-knik libxml2
|
coriolis-katabatic qt4 coriolis-flute coriolis-knik libxml2
|
||||||
coriolis-lefdef
|
coriolis-lefdef
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
nativeBuildInputs = [ doxygen ];
|
||||||
|
pythonImportsCheck = [ "Kite" ];
|
||||||
inherit version meta;
|
};
|
||||||
}
|
in generic pkg
|
||||||
|
|
|
@ -1,23 +1,18 @@
|
||||||
{ version, meta }:
|
{ generic, ... }:
|
||||||
|
|
||||||
{ lib, stdenv, cmake, ninja, python2, boost
|
let pkg =
|
||||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
{ coriolis-vlsisapd, coriolis-hurricane
|
||||||
, coriolis-crlcore, qt4, coriolis-lefdef, libxml2
|
, coriolis-crlcore, qt4, coriolis-lefdef, libxml2
|
||||||
, doxygen }:
|
, doxygen }:
|
||||||
|
{
|
||||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
name = "tutorial";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "coriolis-tutorial";
|
|
||||||
|
|
||||||
src = ../tutorial;
|
src = ../tutorial;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python2 boostWithPython coriolis-bootstrap
|
|
||||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||||
coriolis-lefdef libxml2 qt4
|
coriolis-lefdef libxml2 qt4
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
nativeBuildInputs = [ doxygen ];
|
||||||
|
pythonImportsCheck = [ "Tutorial" ];
|
||||||
inherit version meta;
|
};
|
||||||
}
|
in generic pkg
|
||||||
|
|
|
@ -1,29 +1,24 @@
|
||||||
{ version, meta }:
|
{ generic, ... }:
|
||||||
|
|
||||||
{ lib, stdenv, cmake, ninja, python2, boost
|
let pkg =
|
||||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
{ coriolis-vlsisapd, coriolis-hurricane
|
||||||
, coriolis-crlcore, qt4, coriolis-katana
|
, coriolis-crlcore, qt4, coriolis-katana
|
||||||
, coriolis-flute, coriolis-anabatic, coriolis-coloquinte
|
, coriolis-flute, coriolis-anabatic, coriolis-coloquinte
|
||||||
, coriolis-lefdef, coriolis-knik, coriolis-kite
|
, coriolis-lefdef, coriolis-knik, coriolis-kite
|
||||||
, coriolis-katabatic, coriolis-etesian, coriolis-equinox
|
, coriolis-katabatic, coriolis-etesian, coriolis-equinox
|
||||||
, coriolis-solstice, libxml2, doxygen }:
|
, coriolis-solstice, libxml2, doxygen }:
|
||||||
|
{
|
||||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
name = "unicorn";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "coriolis-unicorn";
|
|
||||||
|
|
||||||
src = ../unicorn;
|
src = ../unicorn;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python2 boostWithPython coriolis-bootstrap
|
|
||||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||||
coriolis-katana qt4 coriolis-flute coriolis-anabatic
|
coriolis-katana qt4 coriolis-flute coriolis-anabatic
|
||||||
coriolis-lefdef libxml2 coriolis-knik coriolis-kite
|
coriolis-lefdef libxml2 coriolis-knik coriolis-kite
|
||||||
coriolis-katabatic coriolis-etesian coriolis-equinox
|
coriolis-katabatic coriolis-etesian coriolis-equinox
|
||||||
coriolis-solstice
|
coriolis-solstice
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
nativeBuildInputs = [ doxygen ];
|
||||||
|
pythonImportsCheck = [ "Unicorn" ];
|
||||||
inherit version meta;
|
};
|
||||||
}
|
in generic pkg
|
||||||
|
|
Loading…
Reference in New Issue