1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 ipykernel,
6 ipython,
7 pythonOlder,
8 qtconsole,
9 qtpy,
10 setuptools-scm,
11}:
12
13buildPythonPackage rec {
14 pname = "napari-console";
15 version = "0.0.9";
16 pyproject = true;
17
18 disabled = pythonOlder "3.8";
19
20 src = fetchFromGitHub {
21 owner = "napari";
22 repo = "napari-console";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-3gOfiPx06G5c4eaLQ5kP45hUr6yw91esznJFacpO66Q=";
25 };
26
27 build-system = [ setuptools-scm ];
28
29 dependencies = [
30 ipykernel
31 ipython
32 qtconsole
33 qtpy
34 ];
35
36 # Circular dependency: napari
37 doCheck = false;
38
39 pythonImportsCheck = [ "napari_console" ];
40
41 meta = with lib; {
42 description = "Plugin that adds a console to napari";
43 homepage = "https://github.com/napari/napari-console";
44 license = licenses.bsd3;
45 maintainers = with maintainers; [ SomeoneSerge ];
46 };
47}