From 0059592746e0129edc9dbcc303cb7fa17f29487f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 Jan 2024 12:13:15 +0100 Subject: [PATCH] python311Packages.meshtastic: refactor --- pkgs/development/python-modules/meshtastic/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/meshtastic/default.nix b/pkgs/development/python-modules/meshtastic/default.nix index 0fc5121232c4..27e243ff61b8 100644 --- a/pkgs/development/python-modules/meshtastic/default.nix +++ b/pkgs/development/python-modules/meshtastic/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "meshtastic"; version = "2.2.18"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -32,6 +32,10 @@ buildPythonPackage rec { hash = "sha256-r3Hs3oD6CyYa/Ew0wMiLeUj/R4aa8Wc/W65EXMrPGmw="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ dotmap pexpect @@ -41,8 +45,8 @@ buildPythonPackage rec { pyqrcode pyserial pyyaml - setuptools requests + setuptools tabulate timeago ];