about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-08-25 16:49:23 +0000
committerAlyssa Ross <hi@alyssa.is>2023-08-25 16:49:23 +0000
commit542639f95a3646277beb848bb68aa91c30492c86 (patch)
tree44944bb0fe60108e12662016e4994e843e281301 /pkgs
parent0ca251a070f9f6f6d42eb348b10bbe85a25ab57b (diff)
authheaders: add setuptools dependency
> File "/nix/store/4yshsw9xkwfw8ybn7xsr9kg2a5dynawd-python3-3.10.12-env/lib/python3.10/site-packages/authheaders/dmarc_lookup.py", line 22, in <module>
>   from pkg_resources import resource_filename  # Part of setuptools

This was previously propagated from gunicorn, but gunicorn no longer
depends on setuptools.  Fixes the Mailman NixOS test.

Fixes: 2b8a7515d884 ("python3.pkgs.gunicorn: replace setuptools with packaging dependency")
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/authheaders/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/authheaders/default.nix b/pkgs/development/python-modules/authheaders/default.nix
index 37e81f7142907..5ad2e29976a5e 100644
--- a/pkgs/development/python-modules/authheaders/default.nix
+++ b/pkgs/development/python-modules/authheaders/default.nix
@@ -7,6 +7,7 @@
 , publicsuffix2
 , pythonOlder
 , pytestCheckHook
+, setuptools
 }:
 
 buildPythonPackage rec {
@@ -28,6 +29,7 @@ buildPythonPackage rec {
     dnspython
     dkimpy
     publicsuffix2
+    setuptools
   ];
 
   nativeCheckInputs = [