Unverified Commit 76d8ab1c authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

python313Packages.torchio: 0.20.21 -> 0.20.22 (#439981)

parents 4c22a47b 5a467122
Loading
Loading
Loading
Loading
+20 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  # dependencies
  deprecated,
  einops,
  matplotlib,
  humanize,
  nibabel,
  numpy,
  packaging,
@@ -21,22 +21,28 @@
  tqdm,
  typer,

  # optional dependencies
  colorcet,
  matplotlib,
  pandas,
  ffmpeg-python,
  scikit-learn,

  # tests
  humanize,
  parameterized,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "torchio";
  version = "0.20.21";
  version = "0.20.22";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "TorchIO-project";
    repo = "torchio";
    tag = "v${version}";
    hash = "sha256-l2KQLZDxsP8Bjk/vPG2YbU+8Z6/lOvNvy9NYKTdW+cY=";
    hash = "sha256-LP0hlle8BCoZrJWs5aX/xvI+EPHdOGBARoKwQRqswQc=";
  };

  build-system = [
@@ -58,6 +64,16 @@ buildPythonPackage rec {
    typer
  ];

  optional-dependencies = {
    csv = [ pandas ];
    plot = [
      colorcet
      matplotlib
    ];
    video = [ ffmpeg-python ];
    sklearn = [ scikit-learn ];
  };

  nativeCheckInputs = [
    matplotlib
    parameterized