python311Packages.pyorthanc: refactor

This commit is contained in:
natsukium
2024-06-18 21:15:33 +09:00
parent d02892d792
commit a7769ad482
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pythonRelaxDepsHook,
poetry-core,
httpx,
pydicom,
@@ -14,7 +13,7 @@ buildPythonPackage rec {
version = "1.18.0";
disabled = pythonOlder "3.8";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "gacou54";
@@ -23,18 +22,13 @@ buildPythonPackage rec {
hash = "sha256-ObZjTiEB4a7ForsugzKZDdIsTEWOX1zbv53ZJ4AllHE=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
httpx
pydicom
];
pythonRelaxDeps = [ "httpx" ];
doCheck = false; # requires orthanc server (not in Nixpkgs)
pythonImportsCheck = [ "pyorthanc" ];