diff options
author | Linus Heckemann <git@sphalerite.org> | 2020-04-21 13:56:52 +0200 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2020-06-18 17:21:41 +0200 |
commit | f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d (patch) | |
tree | 2beb3aa608ea4b0cb47dae1dc30f1027be7c9f25 | |
parent | d899cf268d0e29cc5229a09dc47d1a648809ea38 (diff) | |
download | nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.tar nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.tar.gz nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.tar.bz2 nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.tar.lz nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.tar.xz nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.tar.zst nixpkgs-f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d.zip |
mailman-web: remove django version checks and override
This is nonsense! Postorius and Hyperkitty don't even support 1.11 anymore.
-rw-r--r-- | pkgs/servers/mail/mailman/web.nix | 8 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/servers/mail/mailman/web.nix b/pkgs/servers/mail/mailman/web.nix index f770f2e4489..53fdf851cfe 100644 --- a/pkgs/servers/mail/mailman/web.nix +++ b/pkgs/servers/mail/mailman/web.nix @@ -1,6 +1,5 @@ { buildPythonPackage, lib, fetchgit, isPy3k , git, makeWrapper, sassc, hyperkitty, postorius, whoosh -, django }: buildPythonPackage rec { @@ -17,8 +16,13 @@ buildPythonPackage rec { # This is just so people installing from pip also get uwsgi # installed, AFAICT. + + # Django is depended on transitively by hyperkitty and postorius, + # and mailman_web has overly restrictive version bounds on it, so + # let's remove it. postPatch = '' sed -i '/^ uwsgi$/d' setup.cfg + sed -i '/^ Django/d' setup.cfg ''; nativeBuildInputs = [ git makeWrapper ]; @@ -36,7 +40,5 @@ buildPythonPackage rec { description = "Django project for Mailman 3 web interface"; license = licenses.gpl3; maintainers = with maintainers; [ peti qyliss ]; - # mailman-web requires django < 2.2 - broken = versionOlder "2.2" django.version; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0a0bb8018ef..42cc71cda63 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15830,11 +15830,7 @@ in mailman-rss = callPackage ../development/python-modules/mailman-rss { }; - mailman-web = with (python3.override { - packageOverrides = self: super: { - django = self.django_1_11; - }; - }).pkgs; toPythonApplication mailman-web; + mailman-web = with python3.pkgs; toPythonApplication mailman-web; mattermost = callPackage ../servers/mattermost { }; matterircd = callPackage ../servers/mattermost/matterircd.nix { }; |