coriolis/nix/karakaze.nix

24 lines
600 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
2021-10-26 16:35:18 -05:00
, coriolis-hurricane }:
2021-09-03 08:33:48 -05:00
{
name = "coriolis-karakaze";
src = ../karakaze;
2021-08-27 11:29:24 -05:00
2021-09-03 08:33:48 -05:00
propagatedBuildInputs = [
2021-10-26 16:35:18 -05:00
coriolis-crlcore coriolis-hurricane coriolis-katana
2021-09-03 08:33:48 -05:00
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