From 1a931bfa62f499ac51906ca29a575257cfe9c715 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 May 2012 13:43:11 +0000 Subject: [PATCH] * Use Gamin to detect log file changes. svn path=/nixpkgs/trunk/; revision=34155 --- pkgs/tools/security/fail2ban/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix index b600f71c7c9..5ac05907080 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 = {