mosquitto: cleanup the package code (#349473)

This commit is contained in:
kirillrdy 2024-10-18 19:04:12 +11:00 committed by GitHub
commit abf02b46d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
};
}