Merge pull request #234581 from sikmir/flashmq

flashmq: init at 1.4.5
This commit is contained in:
figsoda 2023-05-28 09:57:55 -04:00 committed by GitHub
commit 3aed07b966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib, stdenv, fetchFromGitHub, cmake, installShellFiles, openssl }:
stdenv.mkDerivation rec {
pname = "flashmq";
version = "1.4.5";
src = fetchFromGitHub {
owner = "halfgaar";
repo = "FlashMQ";
rev = "v${version}";
hash = "sha256-DcxwwUNpnMeK8A3LuyfrWAMCng0yIcX9bKxNGY0uDSo=";
};
nativeBuildInputs = [ cmake installShellFiles ];
buildInputs = [ openssl ];
installPhase = ''
runHook preInstall
install -Dm755 flashmq -t $out/bin
installManPage $src/man/*.{1,5}
runHook postInstall
'';
meta = with lib; {
description = "Fast light-weight MQTT broker/server";
homepage = "https://www.flashmq.org/";
license = licenses.agpl3Only;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.linux;
};
}

View file

@ -25385,6 +25385,8 @@ with pkgs;
inherit (callPackages ../servers/firebird { }) firebird_4 firebird_3 firebird_2_5 firebird;
flashmq = callPackage ../servers/mqtt/flashmq { };
freeradius = callPackage ../servers/freeradius { };
freshrss = callPackage ../servers/web-apps/freshrss { };