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