Merge pull request #12673 from kamilchm/marathon
marathon: 0.8.1 -> 0.14.1
This commit is contained in:
commit
f8c1d61f12
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "marathon-${version}";
|
name = "marathon-${version}";
|
||||||
version = "0.8.1";
|
version = "0.14.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.mesosphere.io/marathon/v${version}/marathon-${version}.tgz";
|
url = "https://downloads.mesosphere.io/marathon/v${version}/marathon-${version}.tgz";
|
||||||
sha256 = "1g2z2c8p47rryyappwv0k3najb6bypvwgg7z9z8prvph2x6rafp6";
|
sha256 = "0vdl7jf7yhb985dj3v46qnqjv1zwfkyizlsyf9c5dq7khvxrp1l4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper jdk mesos ];
|
buildInputs = [ makeWrapper jdk mesos ];
|
||||||
@ -17,14 +17,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeWrapper ${jdk.jre}/bin/java $out/bin/marathon \
|
makeWrapper ${jdk.jre}/bin/java $out/bin/marathon \
|
||||||
--add-flags "-Xmx512m -jar $out/libexec/marathon/${name}.jar" \
|
--add-flags "-Xmx512m -jar $out/libexec/marathon/${name}.jar" \
|
||||||
--prefix "MESOS_NATIVE_JAVA_LIBRARY" : "$MESOS_NATIVE_JAVA_LIBRARY"
|
--set "MESOS_NATIVE_JAVA_LIBRARY" "$MESOS_NATIVE_JAVA_LIBRARY"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://mesosphere.github.io/marathon;
|
homepage = https://mesosphere.github.io/marathon;
|
||||||
description = "Cluster-wide init and control system for services in cgroups or Docker containers";
|
description = "Cluster-wide init and control system for services in cgroups or Docker containers";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ rushmorem ];
|
maintainers = with maintainers; [ rushmorem kamilchm ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user