hurricane

This commit is contained in:
Las Safin 2021-08-29 17:46:28 +00:00
parent 41665edfed
commit c7df1e6ac9
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
1 changed files with 11 additions and 17 deletions

View File

@ -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