about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/tools/security/fail2ban/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix
index b600f71c7c93..5ac059070801 100644
--- a/pkgs/tools/security/fail2ban/default.nix
+++ b/pkgs/tools/security/fail2ban/default.nix
@@ -1,9 +1,10 @@
-{ stdenv, fetchurl, pythonPackages, unzip }:
+{ stdenv, fetchurl, pythonPackages, unzip, gamin }:
 
 let version = "0.8.6"; in
 
 pythonPackages.buildPythonPackage {
   name = "fail2ban-${version}";
+  namePrefix = "";
 
   src = fetchurl {
     url = "https://github.com/fail2ban/fail2ban/zipball/${version}";
@@ -13,6 +14,8 @@ pythonPackages.buildPythonPackage {
 
   buildInputs = [ unzip ];
 
+  pythonPath = [ gamin ];
+
   preConfigure =
     ''
       substituteInPlace setup.cfg \
@@ -39,9 +42,6 @@ pythonPackages.buildPythonPackage {
   installCommand =
     ''
       python setup.py install --prefix=$out
-
-      # A wrapper is not needed.
-      wrapPythonProgram() { true; }
     '';
 
   meta = {