about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-01-17 12:13:15 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-01-17 12:13:15 +0100
commit0059592746e0129edc9dbcc303cb7fa17f29487f (patch)
tree2ea0f39e3bb86cab1c54e9f553efa9b5daa35d9c /pkgs
parent750025d10470395814c234713ac07c341b401b84 (diff)
python311Packages.meshtastic: refactor
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/meshtastic/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/meshtastic/default.nix b/pkgs/development/python-modules/meshtastic/default.nix
index 0fc5121232c4f..27e243ff61b88 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
   ];