hurricane builds
This commit is contained in:
parent
7c5679408f
commit
8c9353f791
|
@ -86,12 +86,14 @@
|
|||
overlay = final: prev: {
|
||||
coriolis-vlsisapd = final.callPackage (import ./nix/vlsisapd.nix { inherit version meta; }) {};
|
||||
coriolis-bootstrap = final.callPackage (import ./nix/bootstrap.nix { inherit version meta; }) {};
|
||||
coriolis-hurricane = final.callPackage (import ./nix/hurricane.nix { inherit version meta; }) {};
|
||||
};
|
||||
|
||||
packages = forAllSystems (system:
|
||||
with nixpkgsFor.${system}; {
|
||||
vlsisapd = coriolis-vlsisapd;
|
||||
bootstrap = coriolis-bootstrap;
|
||||
hurricane = coriolis-hurricane;
|
||||
});
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.coriolis);
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{ version, meta }:
|
||||
|
||||
{ lib, stdenv, python2, cmake, boost, bison, flex
|
||||
, libxml2, rapidjson, which, qt4, zlib, bzip2, ninja
|
||||
, coriolis-bootstrap, coriolis-vlsisapd }:
|
||||
|
||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "coriolis-hurricane";
|
||||
|
||||
src = ../hurricane;
|
||||
|
||||
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${coriolis-bootstrap}/share/cmake/Modules;${coriolis-vlsisapd}/share/cmake/Modules" ];
|
||||
|
||||
buildInputs = [ python2 boostWithPython coriolis-bootstrap libxml2 bison flex qt4 bzip2 coriolis-vlsisapd rapidjson ];
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
|
||||
inherit version meta;
|
||||
}
|
Loading…
Reference in New Issue