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
|
let version = "0.9.1"; in
|
||||||
|
|
||||||
@ -14,8 +14,8 @@ pythonPackages.buildPythonPackage {
|
|||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
pythonPath = (stdenv.lib.optional stdenv.isLinux systemd)
|
propagatedBuildInputs = [ python.modules.sqlite3 gamin ]
|
||||||
++ [ python.modules.sqlite3 gamin ];
|
++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd);
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
for i in fail2ban-client fail2ban-regex fail2ban-server; do
|
for i in fail2ban-client fail2ban-regex fail2ban-server; do
|
||||||
|
@ -1432,11 +1432,7 @@ let
|
|||||||
|
|
||||||
fabric = pythonPackages.fabric;
|
fabric = pythonPackages.fabric;
|
||||||
|
|
||||||
fail2ban = callPackage ../tools/security/fail2ban {
|
fail2ban = callPackage ../tools/security/fail2ban { };
|
||||||
systemd = systemd.override {
|
|
||||||
pythonSupport = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fakeroot = callPackage ../tools/system/fakeroot { };
|
fakeroot = callPackage ../tools/system/fakeroot { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user