depot/third_party/nixpkgs/pkgs/development/python-modules/napari-console/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

49 lines
917 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
imageio,
ipykernel,
ipython,
napari-plugin-engine,
pythonOlder,
qtconsole,
qtpy,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "napari-console";
version = "0.0.9";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "napari";
repo = "napari-console";
rev = "refs/tags/v${version}";
hash = "sha256-3gOfiPx06G5c4eaLQ5kP45hUr6yw91esznJFacpO66Q=";
};
build-system = [ setuptools-scm ];
dependencies = [
ipykernel
ipython
qtconsole
qtpy
];
# Circular dependency: napari
doCheck = false;
pythonImportsCheck = [ "napari_console" ];
meta = with lib; {
description = "Plugin that adds a console to napari";
homepage = "https://github.com/napari/napari-console";
license = licenses.bsd3;
maintainers = with maintainers; [ SomeoneSerge ];
};
}