fail2ban: update python-systemd dependency
The python module has been split off from systemd since v223.
This commit is contained in:
parent
242c24c402
commit
201859ea18
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchzip, python, pythonPackages, unzip, systemd, gamin }:
|
||||
{ stdenv, fetchzip, python, pythonPackages, unzip, gamin }:
|
||||
|
||||
let version = "0.9.1"; in
|
||||
|
||||
|
@ -14,8 +14,8 @@ pythonPackages.buildPythonPackage {
|
|||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
pythonPath = (stdenv.lib.optional stdenv.isLinux systemd)
|
||||
++ [ python.modules.sqlite3 gamin ];
|
||||
propagatedBuildInputs = [ python.modules.sqlite3 gamin ]
|
||||
++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd);
|
||||
|
||||
preConfigure = ''
|
||||
for i in fail2ban-client fail2ban-regex fail2ban-server; do
|
||||
|
|
|
@ -1432,11 +1432,7 @@ let
|
|||
|
||||
fabric = pythonPackages.fabric;
|
||||
|
||||
fail2ban = callPackage ../tools/security/fail2ban {
|
||||
systemd = systemd.override {
|
||||
pythonSupport = true;
|
||||
};
|
||||
};
|
||||
fail2ban = callPackage ../tools/security/fail2ban { };
|
||||
|
||||
fakeroot = callPackage ../tools/system/fakeroot { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue