Merge pull request #27257 from hectorj/init-zipkin-server-1.28.1

zipkin-server: init at 1.28.1
This commit is contained in:
Matthew Justin Bauer 2018-04-21 15:22:43 -05:00 committed by GitHub
commit 405daa25f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{stdenv, fetchurl, makeWrapper, jre}:
stdenv.mkDerivation rec {
version = "1.28.1";
name = "zipkin-server-${version}";
src = fetchurl {
url = "https://search.maven.org/remotecontent?filepath=io/zipkin/java/zipkin-server/${version}/zipkin-server-${version}-exec.jar";
sha256 = "02369fkv0kbl1isq6y26fh2zj5wxv3zck522m5wypsjlcfcw2apa";
};
buildInputs = [ makeWrapper ];
buildCommand =
''
mkdir -p $out/share/java
cp ${src} $out/share/java/zipkin-server-${version}-exec.jar
mkdir -p $out/bin
makeWrapper ${jre}/bin/java $out/bin/zipkin-server \
--add-flags "-cp $out/share/java/zipkin-server-${version}-exec.jar org.springframework.boot.loader.JarLauncher"
'';
meta = with stdenv.lib; {
description = "Zipkin distributed tracing system";
homepage = "http://zipkin.io/";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [ maintainers.hectorj ];
};
}

View File

@ -12947,6 +12947,7 @@ with pkgs;
zabbix20 = callPackage ../servers/monitoring/zabbix/2.0.nix { };
zabbix22 = callPackage ../servers/monitoring/zabbix/2.2.nix { };
zipkin = callPackage ../servers/monitoring/zipkin { };
### OS-SPECIFIC