fail2ban: 0.9.3 -> 0.9.4
This commit is contained in:
parent
4f29a8c03e
commit
f03993366e
@ -1,19 +1,18 @@
|
|||||||
{ stdenv, fetchzip, python, pythonPackages, unzip, gamin }:
|
{ stdenv, fetchFromGitHub, python, pythonPackages, gamin }:
|
||||||
|
|
||||||
let version = "0.9.3"; in
|
let version = "0.9.4"; in
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication {
|
pythonPackages.buildPythonApplication {
|
||||||
name = "fail2ban-${version}";
|
name = "fail2ban-${version}";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
name = "fail2ban-${version}-src";
|
owner = "fail2ban";
|
||||||
url = "https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz";
|
repo = "fail2ban";
|
||||||
sha256 = "1pwgr56i6l6wh2ap8b5vknxgsscfzjqy2nmd1c3vzdii5kf72j0f";
|
rev = version;
|
||||||
|
sha256 = "1m8gqj35kwrn30rqwd488sgakaisz22xa5v9llvz6gwf4f7ps0a9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ python.modules.sqlite3 gamin ]
|
propagatedBuildInputs = [ python.modules.sqlite3 gamin ]
|
||||||
++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd);
|
++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd);
|
||||||
|
|
||||||
@ -48,7 +47,7 @@ pythonPackages.buildPythonApplication {
|
|||||||
homepage = http://www.fail2ban.org/;
|
homepage = http://www.fail2ban.org/;
|
||||||
description = "A program that scans log files for repeated failing login attempts and bans IP addresses";
|
description = "A program that scans log files for repeated failing login attempts and bans IP addresses";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ eelco lovek323 ];
|
maintainers = with maintainers; [ eelco lovek323 fpletz ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user