2021-08-29 14:16:28 -05:00
|
|
|
{ generic, ... }:
|
2021-08-29 13:25:21 -05:00
|
|
|
let pkg =
|
2021-08-31 14:06:30 -05:00
|
|
|
{ lib, 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 14:06:30 -05:00
|
|
|
buildInputs = [ libxml2 qt4 coriolis-lefdef coriolis-vlsisapd coriolis-hurricane python2Packages.pyqt4 ];
|
2021-08-31 10:32:38 -05:00
|
|
|
nativeBuildInputs = [ bison flex doxygen python2Packages.pyqt4 ];
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"CRL" "Constant" "helpers.io" "helpers.technology"
|
|
|
|
"helpers.utils" "helpers.analogtechno" "helpers" "helpers.overlay"
|
|
|
|
];
|
2021-08-31 14:06:30 -05:00
|
|
|
postInstall = ''
|
|
|
|
ln -s crlcore/helpers $out/${python2Packages.python.sitePackages}/helpers
|
|
|
|
'';
|
|
|
|
meta.license = lib.licenses.gpl2Plus;
|
2021-08-29 13:25:21 -05:00
|
|
|
};
|
|
|
|
in generic pkg
|