Author: eelco
Date: Thu May 17 13:43:11 2012
New Revision: 34155
URL: https://nixos.org/websvn/nix/?rev=34155&sc=1

Log:
* Use Gamin to detect log file changes.

Modified:
   nixpkgs/trunk/pkgs/tools/security/fail2ban/default.nix

Modified: nixpkgs/trunk/pkgs/tools/security/fail2ban/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/tools/security/fail2ban/default.nix      Thu May 17 
13:33:08 2012        (r34154)
+++ nixpkgs/trunk/pkgs/tools/security/fail2ban/default.nix      Thu May 17 
13:43:11 2012        (r34155)
@@ -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 @@
 
   buildInputs = [ unzip ];
 
+  pythonPath = [ gamin ];
+
   preConfigure =
     ''
       substituteInPlace setup.cfg \
@@ -39,9 +42,6 @@
   installCommand =
     ''
       python setup.py install --prefix=$out
-
-      # A wrapper is not needed.
-      wrapPythonProgram() { true; }
     '';
 
   meta = {
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to