nur-packages

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

commit 78fdc81d1cab1ef4487b3413ae9ab2fff4979283
parent a5c36ae1657bcf2fc4bbd90d2b0a1db8f6064cb9
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 19 Aug 2023 11:05:51 +0400

Add opcua-stack

Diffstat:
Mpkgs/default.nix | 3+++
Apkgs/misc/opcua-stack/default.nix | 27+++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -361,6 +361,9 @@ lib.makeScope newScope ( nmtree = callPackage ./misc/nmtree { }; objlab = callPackage ./misc/objlab { }; ocelotgui = libsForQt5.callPackage ./misc/ocelotgui { }; + opcua-stack = callPackage ./misc/opcua-stack { + openssl = pkgs.openssl_1_1; + }; playonmac = callPackage ./misc/playonmac { }; plotjuggler = libsForQt5.callPackage ./misc/plotjuggler { }; pnoise = callPackage ./misc/pnoise { }; diff --git a/pkgs/misc/opcua-stack/default.nix b/pkgs/misc/opcua-stack/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, cmake, boost, openssl }: + +stdenv.mkDerivation rec { + pname = "opcua-stack"; + version = "3.8.1"; + + src = fetchFromGitHub { + owner = "ASNeG"; + repo = "OpcUaStack"; + rev = version; + hash = "sha256-czpuuT9DeZaYo2Q8Y/vW1kAsIiFhRDSKwVBUcFgb9iQ="; + }; + + sourceRoot = "${src.name}/src"; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost openssl ]; + + meta = with lib; { + description = "Open Source OPC UA Application Server and OPC UA Client/Server C++ Libraries"; + homepage = "https://asneg.github.io/projects/opcuastack"; + license = licenses.asl20; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}