depot/third_party/nixpkgs/pkgs/development/python-modules/napari-svg/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

44 lines
835 B
Nix

{ 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 ];
};
}