2021-08-29 14:16:28 -05:00
|
|
|
{ generic, ... }:
|
2021-08-29 13:25:21 -05:00
|
|
|
let pkg =
|
|
|
|
{ libxml2, qt4, bison, flex, doxygen, coriolis-vlsisapd
|
2021-08-31 10:32:38 -05:00
|
|
|
, coriolis-lefdef, coriolis-hurricane, python2Packages }:
|
2021-08-29 13:25:21 -05:00
|
|
|
{
|
|
|
|
name = "crlcore";
|
|
|
|
src = ../crlcore;
|
2021-08-31 10:32:38 -05:00
|
|
|
buildInputs = [ libxml2 qt4 coriolis-lefdef coriolis-vlsisapd coriolis-hurricane python2Packages.pyqt4 python2Packages.sip_4 ];
|
|
|
|
nativeBuildInputs = [ bison flex doxygen python2Packages.pyqt4 ];
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"CRL" "Constant" "helpers.io" "helpers.technology"
|
|
|
|
"helpers.utils" "helpers.analogtechno" "helpers" "helpers.overlay"
|
|
|
|
];
|
|
|
|
continuation = drv: drv.overrideAttrs (o: {
|
|
|
|
postInstall = (o.postInstall or "") + ''
|
|
|
|
ln -s crlcore/helpers $out/${python2Packages.python.sitePackages}/helpers
|
|
|
|
'';
|
|
|
|
});
|
2021-08-29 13:25:21 -05:00
|
|
|
};
|
|
|
|
in generic pkg
|