Make cgt work a bit more
This commit is contained in:
parent
f20ffa02e9
commit
953a98b769
|
@ -2,10 +2,10 @@
|
|||
let pkg =
|
||||
{ lib, libxml2, qt4, bison, flex, doxygen, coriolis-vlsisapd
|
||||
, coriolis-lefdef, coriolis-hurricane, python2Packages }:
|
||||
{
|
||||
rec {
|
||||
name = "crlcore";
|
||||
src = ../crlcore;
|
||||
buildInputs = [ libxml2 qt4 coriolis-lefdef coriolis-vlsisapd coriolis-hurricane python2Packages.pyqt4 ];
|
||||
propagatedBuildInputs = [ libxml2 qt4 coriolis-lefdef coriolis-vlsisapd coriolis-hurricane python2Packages.pyqt4 ];
|
||||
nativeBuildInputs = [ bison flex doxygen python2Packages.pyqt4 ];
|
||||
postInstall = ''
|
||||
ln -s crlcore/helpers $out/${python2Packages.python.sitePackages}/helpers
|
||||
|
|
|
@ -12,6 +12,7 @@ let
|
|||
, meta ? {}
|
||||
, pythonImportsCheck
|
||||
, continuation ? (x: x)
|
||||
, postInstall ? ""
|
||||
, ...
|
||||
}@args':
|
||||
let
|
||||
|
@ -26,11 +27,11 @@ let
|
|||
python2Packages.pythonImportsCheckHook
|
||||
] ++ nativeBuildInputs;
|
||||
|
||||
preInstall = ''
|
||||
postInstall = postInstall + ''
|
||||
export PYTHONPATH="$out/${python2Packages.python.sitePackages}:$PYTHONPATH"
|
||||
'';
|
||||
|
||||
meta = meta // meta';
|
||||
meta = meta' // meta;
|
||||
|
||||
inherit version pythonImportsCheck;
|
||||
} // args);
|
||||
|
|
|
@ -7,7 +7,7 @@ let pkg =
|
|||
name = "oroshi";
|
||||
src = ../oroshi;
|
||||
|
||||
buildInputs = [
|
||||
propagatedBuildInputs = [
|
||||
coriolis-vlsisapd qt4 python2Packages.pyqt4
|
||||
coriolis-crlcore coriolis-hurricane qt4
|
||||
python2Packages.numpy
|
||||
|
|
|
@ -6,19 +6,23 @@ let pkg =
|
|||
, coriolis-flute, coriolis-anabatic, coriolis-coloquinte
|
||||
, coriolis-lefdef, coriolis-knik, coriolis-kite
|
||||
, coriolis-katabatic, coriolis-etesian, coriolis-equinox
|
||||
, coriolis-solstice, libxml2, doxygen }:
|
||||
, coriolis-solstice, libxml2, doxygen, python2Packages }:
|
||||
{
|
||||
name = "unicorn";
|
||||
src = ../unicorn;
|
||||
|
||||
buildInputs = [
|
||||
propagatedBuildInputs = [
|
||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||
coriolis-katana qt4 coriolis-flute coriolis-anabatic
|
||||
coriolis-lefdef libxml2 coriolis-knik coriolis-kite
|
||||
coriolis-katabatic coriolis-etesian coriolis-equinox
|
||||
coriolis-solstice
|
||||
];
|
||||
nativeBuildInputs = [ doxygen ];
|
||||
nativeBuildInputs = [ doxygen python2Packages.wrapPython ];
|
||||
pythonImportsCheck = [ "Unicorn" ];
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
};
|
||||
in generic pkg
|
||||
|
|
Loading…
Reference in New Issue