8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
741 B
Nix
28 lines
741 B
Nix
{ stdenv, fetchurl, makeWrapper, jre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "seyren";
|
|
version = "1.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/scobal/seyren/releases/download/${version}/seyren-${version}.jar";
|
|
sha256 = "1fixij04n8hgmaj8kw8i6vclwyd6n94x0n6ify73ynm6dfv8g37x";
|
|
};
|
|
|
|
phases = ["installPhase"];
|
|
|
|
buildInputs = [ makeWrapper jre ];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"/bin
|
|
makeWrapper "${jre}/bin/java" "$out"/bin/seyren --add-flags "-jar $src"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An alerting dashboard for Graphite";
|
|
homepage = "https://github.com/scobal/seyren";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.offline ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|