mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
3b6bc4b69c
these are the easily identifiable cases and will not be comprehensive
31 lines
819 B
Nix
31 lines
819 B
Nix
{ lib, 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";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
buildInputs = [ jre ];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"/bin
|
|
makeWrapper "${jre}/bin/java" "$out"/bin/seyren --add-flags "-jar $src"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An alerting dashboard for Graphite";
|
|
homepage = "https://github.com/scobal/seyren";
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.offline ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|