Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 46 lines 942 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 imageio, 6 napari-plugin-engine, 7 numpy, 8 pythonOlder, 9 setuptools-scm, 10 vispy, 11}: 12 13buildPythonPackage rec { 14 pname = "napari-svg"; 15 version = "0.1.10"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "napari"; 22 repo = "napari-svg"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-ywN9lUwBFW8zP7ivP7MNTYFbTCcmaZxAuKr056uY68Q="; 25 }; 26 27 nativeBuildInputs = [ setuptools-scm ]; 28 29 propagatedBuildInputs = [ 30 imageio 31 napari-plugin-engine 32 numpy 33 vispy 34 ]; 35 36 # Circular dependency: napari 37 doCheck = false; 38 39 meta = with lib; { 40 description = "A plugin for writing svg files from napari"; 41 homepage = "https://github.com/napari/napari-svg"; 42 changelog = "https://github.com/napari/napari-svg/releases/tag/v${version}"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ SomeoneSerge ]; 45 }; 46}