2020-12-27 14:24:52 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
2021-02-05 17:12:51 +00:00
|
|
|
, lib
|
2020-12-27 14:24:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "teler";
|
2021-03-15 08:37:03 +00:00
|
|
|
version = "1.1.0";
|
2020-12-27 14:24:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitabisa";
|
|
|
|
repo = "teler";
|
|
|
|
rev = "v${version}";
|
2021-03-15 08:37:03 +00:00
|
|
|
sha256 = "sha256-0tx/oyHl6s1mj7NyWMZGCJoSuOeB+BMlBrnGY4IN/i4=";
|
2020-12-27 14:24:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-15 08:37:03 +00:00
|
|
|
vendorSha256 = "sha256-KvUnDInUqFW7FypgsppIBQZKNu6HVsEeHtGwdqYtoys=";
|
2020-12-27 14:24:52 +00:00
|
|
|
|
|
|
|
# test require internet access
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-27 14:24:52 +00:00
|
|
|
description = "Real-time HTTP Intrusion Detection";
|
|
|
|
longDescription = ''
|
|
|
|
teler is an real-time intrusion detection and threat alert
|
|
|
|
based on web log that runs in a terminal with resources that
|
|
|
|
we collect and provide by the community.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/kitabisa/teler";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|