depot/third_party/nixpkgs/pkgs/development/python-modules/napari-plugin-engine/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
799 B
Nix

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