teler: refactor
This commit is contained in:
parent
5135d6aba3
commit
46844b146a
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "kitabisa";
|
||||
repo = "teler";
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3+A1QloZQlH31snWfwYa6rprpKUf3fQc/HQgmKQgV9c=";
|
||||
};
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildGoModule rec {
|
|||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X ktbs.dev/teler/common.Version=${version}"
|
||||
"-X=ktbs.dev/teler/common.Version=${version}"
|
||||
];
|
||||
|
||||
# test require internet access
|
||||
|
@ -27,7 +27,6 @@ buildGoModule rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Real-time HTTP Intrusion Detection";
|
||||
mainProgram = "teler.app";
|
||||
longDescription = ''
|
||||
teler is an real-time intrusion detection and threat alert
|
||||
based on web log that runs in a terminal with resources that
|
||||
|
@ -37,5 +36,6 @@ buildGoModule rec {
|
|||
changelog = "https://github.com/kitabisa/teler/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "teler.app";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue