Skip to content

Commit

Permalink
mosquitto: cleanup the package code (#349473)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillrdy authored Oct 18, 2024
2 parents e5a426a + 9549f7a commit abf02b4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkgs/servers/mqtt/mosquitto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down Expand Up @@ -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";
};
}

0 comments on commit abf02b4

Please sign in to comment.