coriolis/nix/stratus1.nix

22 lines
570 B
Nix
Raw Normal View History

2021-09-03 08:48:01 -05:00
{ generic, ... }:
2021-08-27 12:15:30 -05:00
2021-09-03 08:48:01 -05:00
let pkg =
2021-10-26 16:35:18 -05:00
{ lib, coriolis-crlcore, coriolis-hurricane
2021-10-26 16:10:09 -05:00
, python3Packages, coriolis-cumulus }:
2021-09-03 08:48:01 -05:00
{
name = "coriolis-stratus1";
src = ../stratus1;
2021-08-27 12:15:30 -05:00
2021-09-03 08:48:01 -05:00
propagatedBuildInputs = [
2021-10-26 16:35:18 -05:00
coriolis-crlcore coriolis-hurricane coriolis-cumulus
2021-09-03 08:48:01 -05:00
];
postInstall = ''
2021-10-26 16:10:09 -05:00
ln -s -t $out/${python3Packages.python.sitePackages} \
$out/${python3Packages.python.sitePackages}/stratus/*
2021-09-03 08:48:01 -05:00
'';
pythonImportsCheck = [ "stratus" "patterns" "patread" "synopsys" "utils" "util" ];
2021-08-27 12:15:30 -05:00
2021-09-03 08:48:01 -05:00
meta.license = lib.licenses.gpl2;
};
in generic pkg