mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
47 lines
940 B
Nix
47 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 ];
|
|
};
|
|
}
|