Unverified Commit 46844b14 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

teler: refactor

parent 5135d6ab
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";
  };
}