2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
2014-03-24 20:05:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "seyren";
|
2020-01-17 10:47:56 +00:00
|
|
|
version = "1.5.0";
|
2014-03-24 20:05:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/scobal/seyren/releases/download/${version}/seyren-${version}.jar";
|
2020-01-17 10:47:56 +00:00
|
|
|
sha256 = "1fixij04n8hgmaj8kw8i6vclwyd6n94x0n6ify73ynm6dfv8g37x";
|
2014-03-24 20:05:28 +00:00
|
|
|
};
|
|
|
|
|
2021-07-23 03:41:58 +00:00
|
|
|
dontUnpack = true;
|
2014-03-24 20:05:28 +00:00
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ jre ];
|
2014-03-24 20:05:28 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 12:56:10 +00:00
|
|
|
mkdir -p "$out"/bin
|
2014-03-24 20:05:28 +00:00
|
|
|
makeWrapper "${jre}/bin/java" "$out"/bin/seyren --add-flags "-jar $src"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-03-24 20:05:28 +00:00
|
|
|
description = "Alerting dashboard for Graphite";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "seyren";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/scobal/seyren";
|
2022-06-02 13:38:41 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2014-03-24 20:05:28 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.offline ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|