From 925de2f55855c088fdbcc6fbdee5c6d97834d2e1 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 27 Aug 2023 01:08:00 -0700 Subject: [PATCH] molecule: add missing build dependencies --- pkgs/development/python-modules/molecule/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/molecule/default.nix b/pkgs/development/python-modules/molecule/default.nix index c7432d3aad31..7aa314306e93 100644 --- a/pkgs/development/python-modules/molecule/default.nix +++ b/pkgs/development/python-modules/molecule/default.nix @@ -11,8 +11,10 @@ , pluggy , rich , setuptools +, setuptools-scm , yamllint , wcmatch +, wheel }: buildPythonPackage rec { @@ -25,6 +27,12 @@ buildPythonPackage rec { hash = "sha256-ssARHVtEp3pW7364WhxhtHAWW5fRFXiioWgEczTI3yM="; }; + nativeBuildInputs = [ + setuptools + setuptools-scm + wheel + ]; + propagatedBuildInputs = [ ansible-compat ansible-core @@ -38,10 +46,6 @@ buildPythonPackage rec { wcmatch ] ++ lib.optional withPlugins molecule-plugins; - nativeBuildInputs = [ - setuptools - ]; - pythonImportsCheck = [ "molecule" ]; # tests can't be easily run without installing things from ansible-galaxy