Skip to content

Commit b17b5e4

Browse files
committed
python312Packages.napari-nifti: init at 0.0.17
1 parent 879717a commit b17b5e4

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
pythonOlder,
5+
fetchFromGitHub,
6+
setuptools,
7+
medvol,
8+
}:
9+
10+
buildPythonPackage 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+
rev = "refs/tags/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+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8964,6 +8964,8 @@ self: super: with self; {
89648964

89658965
napari-console = callPackage ../development/python-modules/napari-console { };
89668966

8967+
napari-nifti = callPackage ../development/python-modules/napari-nifti { };
8968+
89678969
napari-npe2 = callPackage ../development/python-modules/napari-npe2 { };
89688970

89698971
napari-plugin-engine = callPackage ../development/python-modules/napari-plugin-engine { };

0 commit comments

Comments
 (0)