1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, setuptools-scm
5, pytestCheckHook
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 = pname;
19 rev = "refs/tags/v${version}";
20 hash = "sha256-cKpCAEYYRq3UPje7REjzhEe1J9mmrtXs8TBnxWukcNE=";
21 };
22
23 SETUPTOOLS_SCM_PRETEND_VERSION = version;
24
25 nativeBuildInputs = [
26 setuptools-scm
27 ];
28
29 # Circular dependency: napari
30 doCheck = false;
31
32 pythonImportsCheck = [
33 "napari_plugin_engine"
34 ];
35
36 meta = with lib; {
37 description = "First generation napari plugin engine";
38 homepage = "https://github.com/napari/napari-plugin-engine";
39 license = licenses.mit;
40 maintainers = with maintainers; [ SomeoneSerge ];
41 };
42}