e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
44 lines
835 B
Nix
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 ];
|
|
};
|
|
}
|