Unverified Commit bbefb9b2 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

flashmq: init at 1.4.5

parent 9c0b39df
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -25363,6 +25363,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 { };