fail2ban: update python-systemd dependency

The python module has been split off from systemd since v223.
This commit is contained in:
Rodney Lorrimar
2015-12-13 16:53:07 +00:00
parent 242c24c402
commit 201859ea18
2 changed files with 4 additions and 8 deletions

View File

@@ -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