python310Packages.napari-svg: equalize
This commit is contained in:
@@ -1,26 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, vispy
|
||||
, napari-plugin-engine
|
||||
, imageio
|
||||
}: buildPythonPackage rec {
|
||||
, napari-plugin-engine
|
||||
, setuptools-scm
|
||||
, vispy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "napari-svg";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-20NLi6JTugP+hxqF2AnhSkuvhkGGbeG+tT3M2SZbtRc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-20NLi6JTugP+hxqF2AnhSkuvhkGGbeG+tT3M2SZbtRc=";
|
||||
};
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ vispy napari-plugin-engine imageio ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
doCheck = false; # Circular dependency: napari
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user