From b0f55047cdc5a378c9a34915acb698605bc6a405 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 12 Jul 2024 23:06:33 +0200 Subject: [PATCH] NixOS 24.05: add setuptools --- modules/de-p1st-monitor.nix | 5 ++++- modules/netcup-dns.nix | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/de-p1st-monitor.nix b/modules/de-p1st-monitor.nix index ae72127..668c29f 100644 --- a/modules/de-p1st-monitor.nix +++ b/modules/de-p1st-monitor.nix @@ -8,7 +8,7 @@ let ( buildPythonPackage rec { pname = "de.p1st.monitor"; - version = "0.12.1"; + version = "0.12.1"; # TOODO 0.12.2 # https://nixos.wiki/wiki/Packaging/Python#Fix_Missing_setup.py format = "pyproject"; src = fetchPypi { @@ -22,6 +22,9 @@ let build twine ]; + nativeBuildInputs = with pkgs.python3Packages; [ + setuptools + ]; } ) ]; diff --git a/modules/netcup-dns.nix b/modules/netcup-dns.nix index 6affbee..5f03fa4 100644 --- a/modules/netcup-dns.nix +++ b/modules/netcup-dns.nix @@ -20,6 +20,9 @@ let build twine ]; + nativeBuildInputs = with pkgs.python3Packages; [ + setuptools + ]; } ) ];