coriolis/nix/karakaze.nix

24 lines
637 B
Nix
Raw Normal View History

2021-09-03 08:33:48 -05:00
{ generic, ... }:
2021-08-27 11:29:24 -05:00
2021-09-03 08:33:48 -05:00
let pkg =
{ lib, coriolis-crlcore, coriolis-bora, coriolis-katana, coriolis-anabatic
, coriolis-vlsisapd, coriolis-hurricane }:
{
name = "coriolis-karakaze";
src = ../karakaze;
2021-08-27 11:29:24 -05:00
2021-09-03 08:33:48 -05:00
propagatedBuildInputs = [
coriolis-vlsisapd coriolis-crlcore coriolis-hurricane coriolis-katana
coriolis-bora coriolis-anabatic
];
postInstall = ''
# for import check
mkdir -p /build/coriolistop/etc/coriolis2
export CORIOLIS_TOP=/build/coriolistop
'';
pythonImportsCheck = [ "karakaze" "karakaze.analogdesign" ];
2021-08-27 11:29:24 -05:00
2021-09-03 08:33:48 -05:00
meta.license = lib.licenses.gpl2Plus;
};
in generic pkg