python311Packages.monai: 1.3.0 -> 1.3.1 (#313406)

This commit is contained in:
Ben Darwin 2024-05-22 11:55:27 -04:00 committed by GitHub
parent ee4854e801
commit eb3e5c5f0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,8 +13,8 @@
buildPythonPackage rec {
pname = "monai";
version = "1.3.0";
format = "setuptools";
version = "1.3.1";
pyproject = true;
# upper bound due to use of `distutils`; remove after next release:
disabled = pythonOlder "3.8" || pythonAtLeast "3.12";
@ -22,14 +22,9 @@ buildPythonPackage rec {
owner = "Project-MONAI";
repo = "MONAI";
rev = "refs/tags/${version}";
hash = "sha256-h//igmSV1cPAFifE1woIluSyGwZBRByYMLqeY3oLHnk=";
hash = "sha256-YjEJbDM9+PiC3Kse8NA/b/yJBsReaK6yIyEB9uktiEc=";
};
# Ninja is not detected by setuptools for some reason even though it's present:
postPatch = ''
substituteInPlace "setup.cfg" --replace " ninja" ""
'';
preBuild = ''
export MAX_JOBS=$NIX_BUILD_CORES;
'';