depot/third_party/nixpkgs/pkgs/development/python-modules/napari-svg/default.nix

45 lines
835 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, imageio
, napari-plugin-engine
, pythonOlder
, setuptools-scm
, vispy
}:
buildPythonPackage rec {
pname = "napari-svg";
version = "0.1.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "napari";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-lvI6RWT9oUE95vL6WO75CASc/Z+1G5UMm2p8vhqIjA0=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
vispy
napari-plugin-engine
imageio
];
# Circular dependency: napari
doCheck = false;
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 ];
};
}