open62541pp: init at 0.15.0 (#354879)

This commit is contained in:
Aleksana 2024-11-23 19:54:47 +08:00 committed by GitHub
commit 16dc5bb9b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,40 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
open62541,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "open62541pp";
version = "0.15.0";
src = fetchFromGitHub {
owner = "open62541pp";
repo = "open62541pp";
rev = "v${finalAttrs.version}";
hash = "sha256-6HQ8j23+xqJCOwCRK1GgNAoz/wXUBqdulfeQFFXSjEo=";
};
cmakeFlags = [
(lib.cmakeBool "UAPP_INTERNAL_OPEN62541" false)
];
nativeBuildInputs = [
cmake
];
buildInputs = [
open62541
];
meta = {
description = "C++ wrapper of the open62541 OPC UA library";
homepage = "https://open62541pp.github.io/open62541pp";
changelog = "https://github.com/open62541pp/open62541pp/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ sikmir ];
platforms = lib.platforms.unix;
};
})