1 { lib, stdenv, fetchFromGitHub, cmake, installShellFiles, openssl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-798BUwjVpsv4OW12mWWXbyqogGX1y182H/u/0Cz3Xow=";
14 nativeBuildInputs = [ cmake installShellFiles ];
16 buildInputs = [ openssl ];
21 install -Dm755 flashmq -t $out/bin
22 installManPage $src/man/*.{1,5}
28 description = "Fast light-weight MQTT broker/server";
29 mainProgram = "flashmq";
30 homepage = "https://www.flashmq.org/";
31 license = licenses.agpl3Only;
32 maintainers = with maintainers; [ sikmir ];
33 platforms = platforms.linux;