hurricane
This commit is contained in:
parent
41665edfed
commit
c7df1e6ac9
|
@ -1,18 +1,12 @@
|
|||
{ version, meta }:
|
||||
{ version, meta, generic, ... }:
|
||||
|
||||
{ lib, stdenv, python2, cmake, boost, bison, flex
|
||||
, libxml2, rapidjson, qt4, zlib, bzip2, ninja
|
||||
, coriolis-bootstrap, coriolis-vlsisapd, doxygen }:
|
||||
|
||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "coriolis-hurricane";
|
||||
|
||||
src = ../hurricane;
|
||||
|
||||
buildInputs = [ python2 boostWithPython coriolis-bootstrap libxml2 bison flex qt4 bzip2 coriolis-vlsisapd rapidjson ];
|
||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
||||
|
||||
inherit version meta;
|
||||
}
|
||||
let pkg =
|
||||
{ libxml2, bzip2, rapidjson, qt4, bison, flex, doxygen, coriolis-vlsisapd }:
|
||||
{
|
||||
name = "hurricane";
|
||||
src = ../hurricane;
|
||||
buildInputs = [ libxml2 qt4 bzip2 rapidjson coriolis-vlsisapd ];
|
||||
nativeBuildInputs = [ bison flex doxygen ];
|
||||
pythonImportsCheck = [ "Viewer" "Hurricane" "Cfg2" "Analog" ];
|
||||
};
|
||||
in generic pkg
|
||||
|
|
Loading…
Reference in New Issue