Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions pkgs/development/python-modules/monai-deploy/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{ lib
, buildPythonPackage
, colorama
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytest-lazy-fixture
, numpy
, networkx
, numpy
, pydicom
, colorama
, pytest-lazy-fixture
, pytestCheckHook
, pythonOlder
, setuptools
, typeguard
, versioneer
}:
Expand All @@ -29,10 +30,14 @@ buildPythonPackage rec {
postPatch = ''
# Asked in https://github.com/Project-MONAI/monai-deploy-app-sdk/issues/450
# if this patch can be incorporated upstream.
substituteInPlace pyproject.toml --replace 'versioneer-518' 'versioneer'
substituteInPlace pyproject.toml \
--replace 'versioneer-518' 'versioneer'
'';

nativeBuildInputs = [ versioneer ];
nativeBuildInputs = [
versioneer
setuptools
];

propagatedBuildInputs = [
numpy
Expand All @@ -41,11 +46,16 @@ buildPythonPackage rec {
typeguard
];

nativeCheckInputs = [ pytestCheckHook pytest-lazy-fixture ];
nativeCheckInputs = [
pytestCheckHook
pytest-lazy-fixture
];

disabledTests = [
# requires Docker daemon:
"test_packager"
];

pythonImportsCheck = [
"monai.deploy"
"monai.deploy.core"
Expand All @@ -57,7 +67,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Framework and tools to design, develop and verify AI applications in healthcare imaging";
homepage = "https://monai.io/deploy.html";
changelog = "https://github.com/Project-MONAI/monai-deploy-app-sdk/blob/main/docs/source/release_notes/v${version}.md";
license = licenses.asl20;
maintainers = [ maintainers.bcdarwin ];
maintainers = with maintainers; [ bcdarwin ];
};
}