mosquitto: cleanup the package code (#349473)
This commit is contained in:
commit
abf02b46d2
@ -34,9 +34,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eclipse";
|
owner = "eclipse";
|
||||||
repo = pname;
|
repo = "mosquitto";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
|
hash = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optionals stdenv.hostPlatform.isDarwin [
|
patches = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
@ -83,11 +83,13 @@ stdenv.mkDerivation rec {
|
|||||||
inherit (nixosTests) mosquitto;
|
inherit (nixosTests) mosquitto;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Open source MQTT v3.1/3.1.1/5.0 broker";
|
description = "Open source MQTT v3.1/3.1.1/5.0 broker";
|
||||||
homepage = "https://mosquitto.org/";
|
homepage = "https://mosquitto.org/";
|
||||||
license = licenses.epl10;
|
changelog = "https://github.com/eclipse/mosquitto/blob/v${version}/ChangeLog.txt";
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
license = lib.licenses.epl10;
|
||||||
platforms = platforms.unix;
|
maintainers = [ lib.maintainers.peterhoeg ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
mainProgram = "mosquitto";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user