depot/third_party/nixpkgs/pkgs/development/python-modules/napari-svg/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
940 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
imageio,
napari-plugin-engine,
numpy,
pythonOlder,
setuptools-scm,
vispy,
}:
buildPythonPackage rec {
pname = "napari-svg";
version = "0.1.10";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "napari";
repo = "napari-svg";
rev = "refs/tags/v${version}";
hash = "sha256-ywN9lUwBFW8zP7ivP7MNTYFbTCcmaZxAuKr056uY68Q=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
imageio
napari-plugin-engine
numpy
vispy
];
# Circular dependency: napari
doCheck = false;
meta = with lib; {
description = "Plugin for writing svg files from napari";
homepage = "https://github.com/napari/napari-svg";
changelog = "https://github.com/napari/napari-svg/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ SomeoneSerge ];
};
}