diff --git a/pkgs/servers/mqtt/mosquitto/default.nix b/pkgs/servers/mqtt/mosquitto/default.nix index 3c3a6199f7b5..83cd922bc517 100644 --- a/pkgs/servers/mqtt/mosquitto/default.nix +++ b/pkgs/servers/mqtt/mosquitto/default.nix @@ -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"; }; }