teler: refactor

This commit is contained in:
Fabian Affolter 2024-03-31 23:49:12 +02:00 committed by GitHub
parent 5135d6aba3
commit 46844b146a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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";
};
}