* Use Gamin to detect log file changes.

svn path=/nixpkgs/trunk/; revision=34155
This commit is contained in:
Eelco Dolstra 2012-05-17 13:43:11 +00:00
parent 28df4ab97b
commit 1a931bfa62

View file

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