about summary refs log tree commit diff
path: root/pkgs/tools/security/fail2ban
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-17 13:43:11 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-17 13:43:11 +0000
commit1a931bfa62f499ac51906ca29a575257cfe9c715 (patch)
tree65f3bd8a93fea26ca7a7ba0ddbbd60c65a5f8030 /pkgs/tools/security/fail2ban
parent28df4ab97be4da8873e9b0da4f0403667741debb (diff)
downloadnixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.tar
nixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.tar.gz
nixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.tar.bz2
nixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.tar.lz
nixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.tar.xz
nixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.tar.zst
nixlib-1a931bfa62f499ac51906ca29a575257cfe9c715.zip
* Use Gamin to detect log file changes.
svn path=/nixpkgs/trunk/; revision=34155
Diffstat (limited to 'pkgs/tools/security/fail2ban')
-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 = {