Merge pull request #153449 from Mic92/opensmtpd-extras

opensmtpd-extras: drop python2 option
This commit is contained in:
Gabriel Ebner 2022-01-11 17:57:39 +01:00 committed by GitHub
commit b57d7dc58f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View file

@ -215,6 +215,12 @@
<literal>virtualisation.docker.daemon.settings</literal>.
</para>
</listitem>
<listitem>
<para>
opensmtpd-extras is no longer build with python2 scripting
support due to python2 deprecation in nixpkgs
</para>
</listitem>
<listitem>
<para>
The <literal>autorestic</literal> package has been upgraded

View file

@ -72,6 +72,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`.
- opensmtpd-extras is no longer build with python2 scripting support due to python2 deprecation in nixpkgs
- The `autorestic` package has been upgraded from 1.3.0 to 1.5.0 which introduces breaking changes in config file, check [their migration guide](https://autorestic.vercel.app/migration/1.4_1.5) for more details.
- For `pkgs.python3.pkgs.ipython`, its direct dependency `pkgs.python3.pkgs.matplotlib-inline`

View file

@ -1,6 +1,5 @@
{ lib, stdenv, fetchurl, openssl, libevent, libasr,
python2, pkg-config, lua5, perl, libmysqlclient, postgresql, sqlite, hiredis,
enablePython ? true,
{ lib, stdenv, fetchurl, openssl, libevent, libasr, ncurses,
pkg-config, lua5, perl, libmysqlclient, postgresql, sqlite, hiredis,
enableLua ? true,
enablePerl ? true,
enableMysql ? true,
@ -20,7 +19,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libevent
libasr python2 lua5 perl libmysqlclient postgresql sqlite hiredis ];
libasr lua5 perl libmysqlclient postgresql sqlite hiredis ];
configureFlags = [
"--sysconfdir=/etc"
@ -48,13 +47,6 @@ stdenv.mkDerivation rec {
"--with-scheduler-ram"
"--with-scheduler-stub"
] ++ lib.optionals enablePython [
"--with-python=${python2}"
"--with-filter-python"
"--with-queue-python"
"--with-table-python"
"--with-scheduler-python"
] ++ lib.optionals enableLua [
"--with-lua=${pkg-config}"
"--with-filter-lua"