Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / napari-console / default.nix
blobacefdcc14bca0a3744b8b7b037b8db2862f58aa0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , imageio
5 , ipykernel
6 , ipython
7 , napari-plugin-engine
8 , pythonOlder
9 , qtconsole
10 , setuptools-scm
13 buildPythonPackage rec {
14   pname = "napari-console";
15   version = "0.0.7";
16   format = "pyproject";
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "napari";
22     repo = pname;
23     rev = "refs/tags/v${version}";
24     hash = "sha256-vHLCVMgrcs54pGb48wQpc0h7QBIfE6r7hCSoDNI3QvA=";
25   };
27   SETUPTOOLS_SCM_PRETEND_VERSION = version;
29   nativeBuildInputs = [
30     setuptools-scm
31   ];
33   propagatedBuildInputs = [
34     imageio
35     ipykernel
36     ipython
37     napari-plugin-engine
38     qtconsole
39   ];
41   # Circular dependency: napari
42   doCheck = false;
44   pythonImportsCheck = [
45     "napari_console"
46   ];
48   meta = with lib; {
49     description = "A plugin that adds a console to napari";
50     homepage = "https://github.com/napari/napari-console";
51     license = licenses.bsd3;
52     maintainers = with maintainers; [ SomeoneSerge ];
53   };