python313Packages.napari-npe2: fix build
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
{
|
||||
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
|
||||
build
|
||||
magicgui
|
||||
pydantic
|
||||
pytomlpp
|
||||
pyyaml
|
||||
platformdirs
|
||||
build
|
||||
psygnal
|
||||
pydantic
|
||||
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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user