1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 setuptools-scm,
7 imageio,
8 napari-plugin-engine,
9 numpy,
10 vispy,
11}:
12
13buildPythonPackage rec {
14 pname = "napari-svg";
15 version = "0.2.1";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "napari";
20 repo = "napari-svg";
21 tag = "v${version}";
22 hash = "sha256-m3lm+jXUuGr9WCxzo7VyZNcKadLPX2VrCC9obiSvreQ=";
23 };
24
25 build-system = [
26 setuptools
27 setuptools-scm
28 ];
29
30 dependencies = [
31 imageio
32 napari-plugin-engine
33 numpy
34 vispy
35 ];
36
37 # Circular dependency: napari
38 doCheck = false;
39
40 meta = {
41 description = "Plugin for writing svg files from napari";
42 homepage = "https://github.com/napari/napari-svg";
43 changelog = "https://github.com/napari/napari-svg/releases/tag/v${version}";
44 license = lib.licenses.bsd3;
45 maintainers = with lib.maintainers; [ SomeoneSerge ];
46 };
47}