From a7769ad48247dc6989dc23307fb31bd470c377b7 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 18 Jun 2024 21:15:33 +0900 Subject: [PATCH] python311Packages.pyorthanc: refactor --- .../development/python-modules/pyorthanc/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pyorthanc/default.nix b/pkgs/development/python-modules/pyorthanc/default.nix index 70776e72ab82..a65d8d6b983b 100644 --- a/pkgs/development/python-modules/pyorthanc/default.nix +++ b/pkgs/development/python-modules/pyorthanc/default.nix @@ -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" ];