From ef5cdd9fc6a2e0832ef5826de89d963cdad797e4 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 14 Sep 2024 10:22:11 +0900 Subject: [PATCH] luigi: build with pypaBuildHook --- pkgs/applications/networking/cluster/luigi/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/luigi/default.nix b/pkgs/applications/networking/cluster/luigi/default.nix index 60373a8f85fc..8c145ef6393f 100644 --- a/pkgs/applications/networking/cluster/luigi/default.nix +++ b/pkgs/applications/networking/cluster/luigi/default.nix @@ -3,13 +3,18 @@ python3.pkgs.buildPythonApplication rec { pname = "luigi"; version = "3.5.2"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-0AD+am6nfJN2Z0/oegRawAw/z36+hBRlWgZjCqnbURE="; }; - propagatedBuildInputs = with python3.pkgs; [ python-dateutil tornado python-daemon boto3 tenacity ]; + build-system = [ python3.pkgs.setuptools ]; + + dependencies = with python3.pkgs; [ python-dateutil tornado python-daemon tenacity ]; + + pythonImportsCheck = [ "luigi" ]; # Requires tox, hadoop, and google cloud doCheck = false;