Merge pull request #236779 from r-ryantm/auto-update/python310Packages.pymedio

python310Packages.pymedio: 0.2.13 -> 0.2.14
This commit is contained in:
Weijia Wang 2023-06-11 20:51:56 +03:00 committed by GitHub
commit 748209b906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,22 +12,21 @@
buildPythonPackage rec {
pname = "pymedio";
version = "0.2.13";
version = "0.2.14";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "jcreinhold";
repo = "pymedio";
rev = "refs/tags/v${version}";
hash = "sha256-iHbClOrtYkHT1Nar+5j/ig4Krya8LdQdFB4Mmm5B9bg=";
hash = "sha256-x3CHoWASDrUoCXfj73NF+0Y/3Mb31dK2Lh+o4OD9ryk=";
};
# relax Python dep to work with 3.10.x and 3.11.x
postPatch = ''
substituteInPlace setup.cfg --replace "!=3.10.*," "" --replace "!=3.11.*" ""
'';
propagatedBuildInputs = [ numpy ];
propagatedBuildInputs = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
@ -44,6 +43,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Read medical image files into Numpy arrays";
homepage = "https://github.com/jcreinhold/pymedio";
changelog = "https://github.com/jcreinhold/pymedio/blob/v${version}/HISTORY.rst";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};