Unverified Commit f8ba13cc authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python313Packages.napari-npe2: fix build (#440266)

parents 9a49b2f4 2fdf3337
Loading
Loading
Loading
Loading
+17 −15
Original line number Diff line number Diff line
{
  lib,
  appdirs,
  build,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  hatch-vcs,
  magicgui,
  napari, # reverse dependency, for tests
  pydantic,
  pythonOlder,
  pytomlpp,
  pyyaml,
  platformdirs,
  build,
  psygnal,
  pydantic,
  tomli-w,
  tomli,
  rich,
  typer,
  tomli-w,
  napari, # reverse dependency, for tests
}:

buildPythonPackage rec {
@@ -37,15 +37,17 @@ buildPythonPackage rec {
  ];

  dependencies = [
    appdirs
    pyyaml
    platformdirs
    build
    magicgui
    psygnal
    pydantic
    pytomlpp
    pyyaml
    tomli-w
    rich
    typer
    tomli-w
  ]
  ++ lib.optionals (pythonOlder "3.11") [
    tomli
  ];

  pythonImportsCheck = [ "npe2" ];
@@ -54,11 +56,11 @@ buildPythonPackage rec {
    inherit napari;
  };

  meta = with lib; {
  meta = {
    description = "Plugin system for napari (the image visualizer)";
    homepage = "https://github.com/napari/npe2";
    license = licenses.bsd3;
    maintainers = with maintainers; [ SomeoneSerge ];
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ SomeoneSerge ];
    mainProgram = "npe2";
  };
}