about summary refs log tree commit diff
path: root/nixpkgs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-08-25 16:49:23 +0000
committerAlyssa Ross <hi@alyssa.is>2023-08-26 09:07:37 +0000
commitc510a1270e6241cc22bafaa84b4d1e6ffb66bb6d (patch)
tree7f13d53bddb0d0307ef7e5b687dce28994329c31 /nixpkgs
parent63dabcc77ef9a56655e1ca2ab2e25e6163a72c1f (diff)
downloadnixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.tar
nixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.tar.gz
nixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.tar.bz2
nixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.tar.lz
nixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.tar.xz
nixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.tar.zst
nixlib-c510a1270e6241cc22bafaa84b4d1e6ffb66bb6d.zip
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")
(cherry picked from commit 542639f95a3646277beb848bb68aa91c30492c86)
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/pkgs/development/python-modules/authheaders/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/authheaders/default.nix b/nixpkgs/pkgs/development/python-modules/authheaders/default.nix
index 37e81f714290..5ad2e29976a5 100644
--- a/nixpkgs/pkgs/development/python-modules/authheaders/default.nix
+++ b/nixpkgs/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 = [