Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.9 kB · 112 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113{ lib, mkDerivationWith, appdirs, app-model, buildPythonPackage, cachey, certifi, dask, docstring-parser, fetchFromGitHub, imageio, jsonschema, magicgui, napari-console, napari-npe2, napari-svg, numpydoc, pint, psutil, pydantic, pyopengl, pillow, pythonOlder, pyyaml, scikit-image, scipy, setuptools-scm, sphinx, superqt, tifffile, toolz, tqdm, typing-extensions, vispy, wrapQtAppsHook, wrapt}:
mkDerivationWith buildPythonPackage rec { pname = "napari"; version = "0.4.17"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "napari"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-34FALCI7h0I295553Rv0KZxKIipuA2OMNsINGde7/oE="; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
postPatch = '' substituteInPlace setup.cfg \ --replace "scikit-image>=0.19.1" "scikit-image" \ --replace "sphinx<5" "sphinx" \ --replace "vispy>=0.11.0,<0.12" "vispy" '';
nativeBuildInputs = [ setuptools-scm wrapQtAppsHook ];
propagatedBuildInputs = [ app-model appdirs cachey certifi dask docstring-parser imageio jsonschema magicgui napari-console napari-npe2 napari-svg numpydoc pint pillow psutil pydantic pyopengl pyyaml scikit-image scipy sphinx superqt tifffile toolz tqdm typing-extensions vispy wrapt ] ++ dask.optional-dependencies.array;
dontUseSetuptoolsCheck = true;
postFixup = '' wrapQtApp $out/bin/napari '';
meta = with lib; { description = "A fast, interactive, multi-dimensional image viewer"; homepage = "https://github.com/napari/napari"; changelog = "https://github.com/napari/napari/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ SomeoneSerge ]; };}