coriolis/nix/unicorn.nix

31 lines
942 B
Nix

{ generic, ... }:
let pkg =
{ lib, coriolis-hurricane, coriolis-tutorial
, coriolis-crlcore, qt4, coriolis-katana, coriolis-bora
, coriolis-flute, coriolis-anabatic, coriolis-coloquinte
, coriolis-lefdef, coriolis-knik, coriolis-kite
, coriolis-katabatic, coriolis-etesian, coriolis-equinox
, coriolis-solstice, libxml2, doxygen, python3Packages }:
{
name = "unicorn";
src = ../unicorn;
propagatedBuildInputs = [
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 coriolis-bora coriolis-tutorial
];
nativeBuildInputs = [ doxygen python3Packages.wrapPython ];
pythonImportsCheck = [ "Unicorn" ];
postFixup = ''
wrapPythonPrograms
'';
meta.license = lib.licenses.gpl2Plus;
};
in generic pkg