Files
nixpkgs/pkgs/development/python-modules/napari-plugin-engine/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
785 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
pythonOlder,
}:
buildPythonPackage rec {
pname = "napari-plugin-engine";
version = "0.2.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "napari";
repo = "napari-plugin-engine";
tag = "v${version}";
hash = "sha256-cKpCAEYYRq3UPje7REjzhEe1J9mmrtXs8TBnxWukcNE=";
};
nativeBuildInputs = [ setuptools-scm ];
# Circular dependency: napari
doCheck = false;
pythonImportsCheck = [ "napari_plugin_engine" ];
meta = {
description = "First generation napari plugin engine";
homepage = "https://github.com/napari/napari-plugin-engine";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ SomeoneSerge ];
};
}