commit df89c590e2140e3001a4b23e3edc9fcfd3852c17
parent b6af208f91b63f14be835d0e44946e160ecf3539
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 17 Jun 2023 02:14:50 +0400
Add freeopcua
Diffstat:
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -335,6 +335,7 @@ lib.makeScope newScope (
docker-reg-tool = callPackage ./misc/docker-reg-tool { };
docx2csv = callPackage ./misc/docx2csv { };
finalcut = callPackage ./misc/finalcut { };
+ freeopcua = callPackage ./misc/freeopcua { };
gaiagpsclient = callPackage ./misc/gaiagpsclient { };
glauth = callPackage ./misc/glauth { };
graphene = callPackage ./misc/graphene { };
diff --git a/pkgs/misc/freeopcua/default.nix b/pkgs/misc/freeopcua/default.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv, fetchFromGitHub, cmake, boost }:
+
+stdenv.mkDerivation (finalAttrs: {
+ pname = "freeopcua";
+ version = "2023-05-30";
+
+ src = fetchFromGitHub {
+ owner = "FreeOpcUa";
+ repo = "freeopcua";
+ rev = "6eac0975636425d2e122b228ca69fea2d30c9ce6";
+ hash = "sha256-Vf2+VDiW11aVRY8hAzdQBxQjwDWG/tVzXSw7aU/Gd9c=";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ buildInputs = [ boost ];
+
+ cmakeFlags = [ "-DSSL_SUPPORT_MBEDTLS=OFF" ];
+
+ meta = with lib; {
+ description = "Open Source C++ OPC-UA Server and Client Library";
+ inherit (finalAttrs.src.meta) homepage;
+ license = licenses.lgpl3;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.unix;
+ };
+})