2021-09-03 07:50:39 -05:00
|
|
|
{ generic, ... }:
|
2021-08-26 11:23:26 -05:00
|
|
|
|
2021-09-03 07:50:39 -05:00
|
|
|
let pkg =
|
|
|
|
{ lib, coriolis-vlsisapd, coriolis-hurricane, coriolis-crlcore
|
|
|
|
, coriolis-etesian, coriolis-anabatic, coriolis-katana
|
2021-09-03 08:46:33 -05:00
|
|
|
, coriolis-unicorn, python2Packages }:
|
2021-09-03 07:50:39 -05:00
|
|
|
{
|
|
|
|
name = "cumulus";
|
2021-08-26 11:23:26 -05:00
|
|
|
|
2021-09-03 07:50:39 -05:00
|
|
|
src = ../cumulus;
|
2021-08-26 11:23:26 -05:00
|
|
|
|
2021-09-03 07:50:39 -05:00
|
|
|
postInstall = ''
|
2021-09-03 08:46:33 -05:00
|
|
|
ln -s -t $out/${python2Packages.python.sitePackages} $out/${python2Packages.python.sitePackages}/cumulus/*
|
|
|
|
|
2021-09-03 07:50:39 -05:00
|
|
|
# for import check
|
|
|
|
mkdir -p /build/coriolistop/etc/coriolis2
|
|
|
|
export CORIOLIS_TOP=/build/coriolistop
|
|
|
|
'';
|
2021-08-26 11:23:26 -05:00
|
|
|
|
2021-09-03 07:50:39 -05:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
|
|
|
coriolis-etesian coriolis-anabatic coriolis-katana
|
|
|
|
coriolis-unicorn
|
|
|
|
];
|
|
|
|
pythonImportsCheck = [ "plugins" ];
|
2021-08-26 11:23:26 -05:00
|
|
|
|
2021-09-03 07:50:39 -05:00
|
|
|
meta.license = lib.licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
in generic pkg
|