nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 198fdd27045aba6efa7726ab0bc2ada8599d8cf9
parent 3cfaf1911afe00c0015f603f806b765db55de02a
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 23 Oct 2022 06:38:02 +0300

Move paho-mqtt-{c,cpp} to nixpkgs

Diffstat:
Mpkgs/default.nix | 2--
Dpkgs/misc/paho-mqtt-c/default.nix | 34----------------------------------
Dpkgs/misc/paho-mqtt-cpp/default.nix | 25-------------------------
3 files changed, 0 insertions(+), 61 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -327,8 +327,6 @@ lib.makeScope newScope ( nanodns = callPackage ./misc/nanodns { }; nmtree = callPackage ./misc/nmtree { }; objlab = callPackage ./misc/objlab { }; - paho-mqtt-c = callPackage ./misc/paho-mqtt-c { }; - paho-mqtt-cpp = callPackage ./misc/paho-mqtt-cpp { }; playonmac = callPackage ./misc/playonmac { }; pnoise = callPackage ./misc/pnoise { }; ptunnel = callPackage ./misc/ptunnel { }; diff --git a/pkgs/misc/paho-mqtt-c/default.nix b/pkgs/misc/paho-mqtt-c/default.nix @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, openssl, makeWrapper }: - -stdenv.mkDerivation rec { - pname = "paho.mqtt.c"; - version = "1.3.11"; - - src = fetchFromGitHub { - owner = "eclipse"; - repo = "paho.mqtt.c"; - rev = "v${version}"; - hash = "sha256-TGCWA9tOOx0rCb/XQWqLFbXb9gOyGS8u6o9fvSRS6xI="; - }; - - nativeBuildInputs = [ cmake makeWrapper ]; - - buildInputs = [ openssl ]; - - cmakeFlags = [ "-DPAHO_WITH_SSL=TRUE" ]; - - postFixup = '' - # for dlopen - wrapProgram $out/bin/MQTTVersion \ - --prefix LD_LIBRARY_PATH : "$out/lib" \ - --prefix DYLD_LIBRARY_PATH : "$out/lib" - ''; - - meta = with lib; { - description = "Eclipse Paho MQTT C Client Library"; - homepage = "https://www.eclipse.org/paho/"; - license = licenses.epl20; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/misc/paho-mqtt-cpp/default.nix b/pkgs/misc/paho-mqtt-cpp/default.nix @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, openssl, paho-mqtt-c }: - -stdenv.mkDerivation rec { - pname = "paho.mqtt.cpp"; - version = "1.2.0"; - - src = fetchFromGitHub { - owner = "eclipse"; - repo = "paho.mqtt.cpp"; - rev = "v${version}"; - hash = "sha256-tcq0a4X5dKE4rnczRMAVe3Wt43YzUKbxsv9Sk+q+IB8="; - }; - - nativeBuildInputs = [ cmake ]; - - buildInputs = [ openssl paho-mqtt-c ]; - - meta = with lib; { - description = "Eclipse Paho MQTT C++ Client Library"; - homepage = "https://www.eclipse.org/paho/"; - license = licenses.epl10; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}