diff --git a/pkgs/development/python-modules/ttp/default.nix b/pkgs/development/python-modules/ttp/default.nix index a484ed9f76ac..afa66b288ab2 100644 --- a/pkgs/development/python-modules/ttp/default.nix +++ b/pkgs/development/python-modules/ttp/default.nix @@ -9,6 +9,7 @@ , netmiko , openpyxl , pytestCheckHook +, poetry-core , pyyaml , tabulate , ttp-templates @@ -17,16 +18,20 @@ buildPythonPackage rec { pname = "ttp"; - version = "0.8.4"; - format = "setuptools"; + version = "0.9.1"; + format = "pyproject"; src = fetchFromGitHub { owner = "dmulyalin"; repo = pname; - rev = version; - hash = "sha256-vuKlddqm8KirqAJyvBPfRb5Nw9zo4Fl1bwbfVMhmH9g="; + rev = "refs/tags/${version}"; + hash = "sha256-FhuIYXktcNnOVX+KU5cDOd2Qk7AcWaSKvfB/BZYpsZo="; }; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ # https://github.com/dmulyalin/ttp/blob/master/docs/source/Installation.rst#additional-dependencies cerberus @@ -87,6 +92,8 @@ buildPythonPackage rec { "test_child_group_do_not_start_if_no_parent_started" # Assertion Error "test_in_threads_parsing" + # missing env var + "test_ttp_templates_dir_env_variable" ]; pytestFlagsArray = [