Unverified Commit abf02b46 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

mosquitto: cleanup the package code (#349473)

parents e5a426af 9549f7ad
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -34,9 +34,9 @@ stdenv.mkDerivation rec {

  src = fetchFromGitHub {
    owner = "eclipse";
    repo = pname;
    repo = "mosquitto";
    rev = "v${version}";
    sha256 = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
    hash = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
  };

  patches = lib.optionals stdenv.hostPlatform.isDarwin [
@@ -83,11 +83,13 @@ stdenv.mkDerivation rec {
    inherit (nixosTests) mosquitto;
  };

  meta = with lib; {
  meta = {
    description = "Open source MQTT v3.1/3.1.1/5.0 broker";
    homepage = "https://mosquitto.org/";
    license = licenses.epl10;
    maintainers = with maintainers; [ peterhoeg ];
    platforms = platforms.unix;
    changelog = "https://github.com/eclipse/mosquitto/blob/v${version}/ChangeLog.txt";
    license = lib.licenses.epl10;
    maintainers = [ lib.maintainers.peterhoeg ];
    platforms = lib.platforms.unix;
    mainProgram = "mosquitto";
  };
}