about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixpkgs/pkgs/servers/mail/mailman/web.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/servers/mail/mailman/web.nix b/nixpkgs/pkgs/servers/mail/mailman/web.nix
index 7030f934a807..f8019907f283 100644
--- a/nixpkgs/pkgs/servers/mail/mailman/web.nix
+++ b/nixpkgs/pkgs/servers/mail/mailman/web.nix
@@ -1,5 +1,5 @@
 { buildPythonPackage, lib, fetchgit, fetchpatch, isPy3k
-, git, makeWrapper, sassc, hyperkitty, postorius, whoosh
+, git, makeWrapper, sassc, hyperkitty, postorius, whoosh, setuptools-scm
 }:
 
 buildPythonPackage rec {
@@ -14,13 +14,6 @@ buildPythonPackage rec {
     leaveDotGit = true;
   };
 
-  patches = [
-    (fetchpatch {
-      url = "https://gitlab.com/qyliss/mailman-web/commit/fab30e23a1622bfa653c61b96a7ad9810926280c.patch";
-      sha256 = "1qn88nlvf9n1amql9d7v91fzdasxa78bvzi9adwqbhciw1azf84a";
-    })
-  ];
-
   # This is just so people installing from pip also get uwsgi
   # installed, AFAICT.
 
@@ -32,7 +25,7 @@ buildPythonPackage rec {
     sed -i '/^  Django/d' setup.cfg
   '';
 
-  nativeBuildInputs = [ git makeWrapper ];
+  nativeBuildInputs = [ git makeWrapper setuptools-scm ];
   propagatedBuildInputs = [ hyperkitty postorius whoosh ];
 
   # Tries to check runtime configuration.