coriolis/nix/stratus1.nix

22 lines
607 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 =
{ lib, coriolis-crlcore, coriolis-vlsisapd, coriolis-hurricane
, python2Packages, coriolis-cumulus }:
{
name = "coriolis-stratus1";
src = ../stratus1;
2021-08-27 12:15:30 -05:00
2021-09-03 08:48:01 -05:00
propagatedBuildInputs = [
coriolis-vlsisapd coriolis-crlcore coriolis-hurricane coriolis-cumulus
];
postInstall = ''
ln -s -t $out/${python2Packages.python.sitePackages} \
$out/${python2Packages.python.sitePackages}/stratus/*
'';
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