mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
python312Packages.napari-nifti: init at 0.0.17 (#334471)
This commit is contained in:
commit
741c4b4490
43
pkgs/development/python-modules/medvol/default.nix
Normal file
43
pkgs/development/python-modules/medvol/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
numpy,
|
||||
simpleitk,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "medvol";
|
||||
version = "0.0.15";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MIC-DKFZ";
|
||||
repo = "medvol";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JOw0ODx5yuBY5FyXy9z5C/NE/iok5GwiInalgXW/1J8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
simpleitk
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonImportsCheck = [ "medvol" ];
|
||||
|
||||
meta = {
|
||||
description = "Wrapper for loading medical 3D image volumes such as NIFTI or NRRD images";
|
||||
homepage = "https://github.com/MIC-DKFZ/medvol";
|
||||
changelog = "https://github.com/MIC-DKFZ/MedVol/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
39
pkgs/development/python-modules/napari-nifti/default.nix
Normal file
39
pkgs/development/python-modules/napari-nifti/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
medvol,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "napari-nifti";
|
||||
version = "0.0.17";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MIC-DKFZ";
|
||||
repo = "napari-nifti";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JDyJMg6rsGkfEHBwqKc2L6oRO5Y1MJJlEjUuuqp7URQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ medvol ];
|
||||
|
||||
pythonImportsCheck = [ "napari_nifti" ];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
meta = {
|
||||
description = "Napari plugin for reading and writing NIFTI files";
|
||||
homepage = "https://github.com/MIC-DKFZ/napari-nifti";
|
||||
changelog = "https://github.com/MIC-DKFZ/napari-nifti/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -7979,6 +7979,8 @@ self: super: with self; {
|
||||
|
||||
medpy = callPackage ../development/python-modules/medpy { };
|
||||
|
||||
medvol = callPackage ../development/python-modules/medvol { };
|
||||
|
||||
meeko = callPackage ../development/python-modules/meeko { };
|
||||
|
||||
meep = callPackage ../development/python-modules/meep { };
|
||||
@ -8968,6 +8970,8 @@ self: super: with self; {
|
||||
|
||||
napari-console = callPackage ../development/python-modules/napari-console { };
|
||||
|
||||
napari-nifti = callPackage ../development/python-modules/napari-nifti { };
|
||||
|
||||
napari-npe2 = callPackage ../development/python-modules/napari-npe2 { };
|
||||
|
||||
napari-plugin-engine = callPackage ../development/python-modules/napari-plugin-engine { };
|
||||
|
Loading…
Reference in New Issue
Block a user