Commit 312b6643 authored by Mateusz Kubica's avatar Mateusz Kubica Committed by Mateusz Kubica
Browse files

python3Packages.meep: add mpb support

parent fcb0131c
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
  libctl,
  libGDSII,
  guile,
  mpb,
  python,
  numpy,
  scipy,
@@ -72,6 +73,7 @@ buildPythonPackage rec {
    libGDSII
    guile
    gsl
    mpb
  ];

  propagatedBuildInputs =
@@ -124,6 +126,9 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    mpiCheckPhaseHook
  ];
  pythonImportCheck = [
    "meep.mpb"
  ];
  checkPhase = ''
    runHook preCheck

@@ -154,12 +159,12 @@ buildPythonPackage rec {
    runHook postCheck
  '';

  meta = with lib; {
  meta = {
    description = "Free finite-difference time-domain (FDTD) software for electromagnetic simulations";
    homepage = "https://meep.readthedocs.io/en/latest/";
    license = licenses.gpl2Only;
    platforms = platforms.linux;
    maintainers = with maintainers; [
    license = lib.licenses.gpl2Only;
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [
      sheepforce
      markuskowa
    ];