summary refs log tree commit diff
path: root/pkgs/development/python-modules/napari-svg/default.nix
blob: 89101e824445b78c4e577348412941e5146e390d (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, pytestCheckHook
, vispy
, napari-plugin-engine
, imageio
}: buildPythonPackage rec {
  pname = "napari-svg";
  version = "0.1.5";
  src = fetchFromGitHub {
    owner = "napari";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-20NLi6JTugP+hxqF2AnhSkuvhkGGbeG+tT3M2SZbtRc=";
  };
  nativeBuildInputs = [ setuptools-scm ];
  propagatedBuildInputs = [ vispy napari-plugin-engine imageio ];
  checkInputs = [ pytestCheckHook ];
  doCheck = false; # Circular dependency: napari
  SETUPTOOLS_SCM_PRETEND_VERSION = version;

  meta = with lib; {
    description = "A plugin for writing svg files from napari";
    homepage = "https://github.com/napari/napari-svg";
    license = licenses.bsd3;
    maintainers = with maintainers; [ SomeoneSerge ];
  };
}