diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-03-22 02:11:25 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-03-22 02:12:43 +0100 |
commit | f03993366e38bde45f5464a9223073229b77014a (patch) | |
tree | 23e95f16ae169db842bdbfc3233745497c8705f9 /pkgs/tools | |
parent | 4f29a8c03e57e4fb3316e1e55573b1b02cd644da (diff) | |
download | nixlib-f03993366e38bde45f5464a9223073229b77014a.tar nixlib-f03993366e38bde45f5464a9223073229b77014a.tar.gz nixlib-f03993366e38bde45f5464a9223073229b77014a.tar.bz2 nixlib-f03993366e38bde45f5464a9223073229b77014a.tar.lz nixlib-f03993366e38bde45f5464a9223073229b77014a.tar.xz nixlib-f03993366e38bde45f5464a9223073229b77014a.tar.zst nixlib-f03993366e38bde45f5464a9223073229b77014a.zip |
fail2ban: 0.9.3 -> 0.9.4
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/fail2ban/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix index 9443eac01da7..c886b10e2201 100644 --- a/pkgs/tools/security/fail2ban/default.nix +++ b/pkgs/tools/security/fail2ban/default.nix @@ -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 { name = "fail2ban-${version}"; namePrefix = ""; - src = fetchzip { - name = "fail2ban-${version}-src"; - url = "https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"; - sha256 = "1pwgr56i6l6wh2ap8b5vknxgsscfzjqy2nmd1c3vzdii5kf72j0f"; + src = fetchFromGitHub { + owner = "fail2ban"; + repo = "fail2ban"; + rev = version; + sha256 = "1m8gqj35kwrn30rqwd488sgakaisz22xa5v9llvz6gwf4f7ps0a9"; }; - buildInputs = [ unzip ]; - propagatedBuildInputs = [ python.modules.sqlite3 gamin ] ++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd); @@ -48,7 +47,7 @@ pythonPackages.buildPythonApplication { homepage = http://www.fail2ban.org/; description = "A program that scans log files for repeated failing login attempts and bans IP addresses"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ eelco lovek323 ]; + maintainers = with maintainers; [ eelco lovek323 fpletz ]; platforms = platforms.linux ++ platforms.darwin; }; } |