Commit Graph

87 Commits

Author SHA1 Message Date
Maximilian Bosch
aea3ec632d
mailman: split python env for web and mailman 2022-05-20 01:36:48 +02:00
Maximilian Bosch
72a14ea563
mailman: refactor package structure
* Removed unused `.package`-option.
* Added explicit postgresql support.
* Create a new meta-package for mailman to make sure each component has
  the **same** python and packages can be downgraded if needed (e.g.
  psycopg2 or sqlalchemy) without interfering with `pythonPackages` in any way.
* Document why certain python overrides are needed.

Closes #170035
Closes #158424
2022-05-20 01:21:20 +02:00
K900
016facb869 hyperkitty: backport patch fixing Python 3.10 support 2022-05-16 13:27:16 +03:00
Martin Weinelt
69900853ca mailman: fix build
Required an update to the sqlalchemy override due to new hash variable
usage. Also disables tests for sqlalchemy and alembic because neither
can find any, so they error out.
2022-04-15 01:39:55 +02:00
Alyssa Ross
3512f5b707
mailman-web: fix django version check removal
Recent versions had increased the amount of indentation, which stopped
this applying.  The next version will also change the case, so I've
adjusted in advance for that too.
2022-03-21 19:35:12 +00:00
Nikolay Korotkiy
343e96c0cc
python3Packages.hyperkitty: fix mistune imports for mistune >= 2.0.0 2022-02-01 22:57:03 +03:00
Robert Schütz
c0b9a9ee44 python3Packages.django_extensions: rename to django-extensions 2022-01-09 15:25:05 +00:00
Artturin
a997abfb28 mailman: formatting 2021-11-13 02:14:26 +02:00
Artturin
92b9bd4eb6 python3Packages.hyperkitty: 1.3.4 -> 1.3.5 2021-11-13 02:14:26 +02:00
Artturin
5f8d34ad31 mailman-web: unstable-2021-04-10 -> 0.0.5 2021-11-13 02:14:26 +02:00
Artturin
413e2f0070 python3Packages.postorius: 1.3.5 -> 1.3.6 2021-11-13 02:14:26 +02:00
Sandro
b499e23f93
Merge pull request #137656 from r-ryantm/auto-update/python38Packages.postorius 2021-11-12 17:34:47 +01:00
Martin Weinelt
adf4e67dd4 Merge remote-tracking branch 'origin/staging' into staging-next 2021-10-15 01:34:36 +02:00
Peter Simons
476635afe1 Drop myself from meta.maintainers for most packages.
I'd like to reduce the number of Github notifications and
review requests I receive.
2021-10-14 11:01:27 +02:00
Martin Weinelt
90ef69cae9
hyperkitty: unstable-2021-10-08 -> 1.3.5
One dependency per line, some sorting, clean out some unused
dependencies.
2021-10-13 20:16:21 +02:00
Martin Weinelt
b8144b632e python3Packages.hyperkitty: 1.3.4 -> unstable-2021-10-08
Fixes the failing test suite.
2021-10-11 01:54:21 +02:00
Martin Weinelt
f931bc81d6 mailman: 3.3.4 -> 3.3.5
Override sqlalchemy version with 1.3.24 and relax alembic dependency.
2021-10-11 01:22:10 +02:00
R. RyanTM
373ad63bd8 python38Packages.postorius: 1.3.4 -> 1.3.5 2021-09-13 14:31:29 +00:00
Robert Schütz
1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
Pavol Rusnak
68889ed61f
treewide: use quotes for url 2021-06-20 16:26:23 +02:00
Sandro
c6cd7e3227
Merge pull request #119680 from alyssais/hyperkitty 2021-04-19 06:21:12 +02:00
Alyssa Ross
be74a6ae30
python3.pkgs.hyperkitty: 1.3.3 -> 1.3.4 2021-04-17 21:06:37 +00:00
Alyssa Ross
cc10432418
mailman: add myself as a maintainer all around 2021-04-17 01:07:38 +00:00
Alyssa Ross
912e11a468 mailman-web: 2019-09-29 -> 2021-04-10
* Make it clearer what code comments apply to
* Fix the state directory (this was changed in the update)
* Add m1cr0man as a maintaner

Co-authored-by: Lucas Savva <lucas@m1cr0man.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-14 16:23:09 +00:00
Alyssa Ross
55ac7d4580 mailman-web: fix build 2021-04-14 13:42:11 +00:00
Alyssa Ross
5e4fc1cc5f
mailman-web: mark broken 2021-04-14 12:19:03 +00:00
Alyssa Ross
d0ead9021e
Revert "mailman-web-unstable: 2019-09-29 -> 2021-04-10 (#119135)"
This reverts commit 8dbd553792.

The update has changed where mailman-web looks for its database and
broken the Mailman module in NixOS.
2021-04-14 12:18:44 +00:00
Lucas Savva
8dbd553792
mailman-web-unstable: 2019-09-29 -> 2021-04-10 (#119135)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-13 01:31:53 +02:00
Lucas Savva
3faeac7062 mailman: Add comments wrt updating mailman components
The Mailman Core must be on its latest available version
before updating hyperkitty or postorious.
2021-04-05 03:12:44 +01:00
Lucas Savva
4002146ff5 mailman: 3.3.1 -> 3.3.4
Postorious 1.3.4 (AKA mailman-web, already in unstable/master)
    requires this version to work
2021-04-05 02:14:22 +01:00
Fabian Affolter
a6328de769
Merge pull request #114218 from fabaff/bump-readme_renderer
python3Packages.readme_renderer: 28.0 -> 29.0
2021-03-03 07:41:10 +01:00
Fabian Affolter
8a20e93b50 python3Packages.postorius: 1.3.3 -> 1.3.4 2021-02-24 12:39:32 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Sandro Jäckel
a3c02a34e2
mailman: Disable tests 2020-12-07 11:02:01 +01:00
Linus Heckemann
176bc68a69 mailman: log to journal 2020-06-18 17:23:33 +02:00
Linus Heckemann
f5a57c6c40 mailman-web: remove django version checks and override
This is nonsense! Postorius and Hyperkitty don't even support 1.11 anymore.
2020-06-18 17:21:41 +02:00
Alyssa Ross
9e59980eb5 python3.pkgs.hyperkitty: 1.3.2 -> 1.3.3 2020-06-06 01:05:29 +00:00
Alyssa Ross
1fe94466e6 python3.pkgs.postorius: 1.3.2 -> 1.3.3 2020-06-06 01:05:29 +00:00
Alyssa Ross
5322686d53 mailman: 3.3.0 -> 3.3.1 2020-06-06 01:05:29 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer
6730bc5144 python3Packages.mailman-web: prevent error from crashing eval 2020-02-12 22:27:24 -08:00
Lancelot SIX
2711c7477d pythonPackages.django: django_1_11 -> django_lts 2020-02-09 09:17:31 +01:00
Alyssa Ross
95de02942f
Revert "mailman-wrapper: crazy hack to work around the missing urllib3 dependency"
This reverts commit ce6b2419be, which
was unnecessary (mailman worked just fine on its parent commit).

See #79222.
2020-02-04 15:40:37 +00:00
Peter Simons
ce6b2419be mailman-wrapper: crazy hack to work around the missing urllib3 dependency
Please remove the explicit urllib3 dependency from this expression again once
https://github.com/NixOS/nixpkgs/issues/79222 is fixed.
2020-02-04 14:43:56 +01:00
Peter Simons
5717f312a4 mailman-web: add myself as a maintainer 2020-02-04 14:43:46 +01:00
Alyssa Ross
881dd9963f mailman-web: use upstream, improve NixOS module
Previously, some files were copied into the Nixpkgs tree, which meant
we wouldn't easily be able to update them, and was also just messy.

The reason it was done that way before was so that a few NixOS
options could be substituted in.  Some problems with doing it this way
were that the _package_ changed depending on the values of the
settings, which is pretty strange, and also that it only allowed those
few settings to be set.

In the new model, mailman-web is a usable package without needing to
override, and I've implemented the NixOS options in a much more
flexible way.  NixOS' mailman-web config file first reads the
mailman-web settings to use as defaults, but then it loads another
configuration file generated from the new services.mailman.webSettings
option, so _any_ mailman-web Django setting can be customised by the
user, rather than just the three that were supported before.  I've
kept the old options, but there might not really be any good reason to
keep them.
2020-01-30 23:14:45 +00:00
Alyssa Ross
a8538a73a7 mailman: init package for Mailman CLI
We already had python3Packages.mailman, but that's only really usable
as a library.  The only other option was to create a whole Python
environment, which was undesirable to install as a system-wide
package.
2020-01-30 23:14:45 +00:00
Alyssa Ross
bc8eece849 python3.pkgs.mailman-hyperkitty: HTTPS homepage 2020-01-30 23:14:45 +00:00