summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/napari-console/default.nix
blob: fcd5b2b2c8133c85ac36d57403da7b3ddaae5272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,
  setuptools-scm,

  # dependencies
  ipykernel,
  ipython,
  qtconsole,
  qtpy,
}:

buildPythonPackage rec {
  pname = "napari-console";
  version = "0.1.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "napari";
    repo = "napari-console";
    tag = "v${version}";
    hash = "sha256-z1pyG31g+fvTNLbWc2W56zDf33HCx8PvPKwIIc/x2VA=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    ipykernel
    ipython
    qtconsole
    qtpy
  ];

  # Circular dependency: napari
  doCheck = false;

  meta = {
    description = "Plugin that adds a console to napari";
    homepage = "https://github.com/napari/napari-console";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ SomeoneSerge ];
  };
}