* Use Gamin to detect log file changes.
svn path=/nixpkgs/trunk/; revision=34155
This commit is contained in:
parent
28df4ab97b
commit
1a931bfa62
@ -1,9 +1,10 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages, unzip }:
|
{ stdenv, fetchurl, pythonPackages, unzip, gamin }:
|
||||||
|
|
||||||
let version = "0.8.6"; in
|
let version = "0.8.6"; in
|
||||||
|
|
||||||
pythonPackages.buildPythonPackage {
|
pythonPackages.buildPythonPackage {
|
||||||
name = "fail2ban-${version}";
|
name = "fail2ban-${version}";
|
||||||
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/fail2ban/fail2ban/zipball/${version}";
|
url = "https://github.com/fail2ban/fail2ban/zipball/${version}";
|
||||||
@ -13,6 +14,8 @@ pythonPackages.buildPythonPackage {
|
|||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
pythonPath = [ gamin ];
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
@ -39,9 +42,6 @@ pythonPackages.buildPythonPackage {
|
|||||||
installCommand =
|
installCommand =
|
||||||
''
|
''
|
||||||
python setup.py install --prefix=$out
|
python setup.py install --prefix=$out
|
||||||
|
|
||||||
# A wrapper is not needed.
|
|
||||||
wrapPythonProgram() { true; }
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user