1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchFromGitHub,
6 setuptools,
7 medvol,
8}:
9
10buildPythonPackage rec {
11 pname = "napari-nifti";
12 version = "0.0.17";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "MIC-DKFZ";
19 repo = "napari-nifti";
20 tag = "v${version}";
21 hash = "sha256-JDyJMg6rsGkfEHBwqKc2L6oRO5Y1MJJlEjUuuqp7URQ=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ medvol ];
27
28 pythonImportsCheck = [ "napari_nifti" ];
29
30 doCheck = false; # no tests
31
32 meta = {
33 description = "Napari plugin for reading and writing NIFTI files";
34 homepage = "https://github.com/MIC-DKFZ/napari-nifti";
35 changelog = "https://github.com/MIC-DKFZ/napari-nifti/releases/tag/v${version}";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ bcdarwin ];
38 };
39}