Unverified Commit 748209b9 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

python310Packages.pymedio: 0.2.13 -> 0.2.14
parents e5a09931 0a91f281
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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 ];
  };