1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools-scm,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "napari-plugin-engine";
11 version = "0.2.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchFromGitHub {
17 owner = "napari";
18 repo = "napari-plugin-engine";
19 tag = "v${version}";
20 hash = "sha256-cKpCAEYYRq3UPje7REjzhEe1J9mmrtXs8TBnxWukcNE=";
21 };
22
23 nativeBuildInputs = [ setuptools-scm ];
24
25 # Circular dependency: napari
26 doCheck = false;
27
28 pythonImportsCheck = [ "napari_plugin_engine" ];
29
30 meta = with lib; {
31 description = "First generation napari plugin engine";
32 homepage = "https://github.com/napari/napari-plugin-engine";
33 license = licenses.mit;
34 maintainers = with maintainers; [ SomeoneSerge ];
35 };
36}