about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-10-27 12:09:07 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-10-27 12:09:07 +0200
commit0e2319717862227077531980639f2b45e685b3e6 (patch)
tree4a535370df15944cc088dbeede9a801cb98ac815
parent0ec908a1b0842ef8de85e5fef8da5847c2c9f49e (diff)
python311Packages.py3status: fix build
-rw-r--r--pkgs/development/python-modules/py3status/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/py3status/default.nix b/pkgs/development/python-modules/py3status/default.nix
index f0f5484aeb56f..d635a6a4a88cb 100644
--- a/pkgs/development/python-modules/py3status/default.nix
+++ b/pkgs/development/python-modules/py3status/default.nix
@@ -6,6 +6,7 @@
 , dbus-python
 , fetchPypi
 , file
+, hatchling
 , i3
 , i3ipc
 , libnotify
@@ -24,12 +25,17 @@
 buildPythonPackage rec {
   pname = "py3status";
   version = "3.53";
+  pyproject = true;
 
   src = fetchPypi {
     inherit pname version;
     hash = "sha256-vZrzHERjAg9J004A2dAbq8hKmAUslCTaRdwEAe9JRqU=";
   };
 
+  nativeBuildInputs = [
+    hatchling
+  ];
+
   propagatedBuildInputs = [
     pytz
     requests