open62541pp: init at 0.15.0

This commit is contained in:
Nikolay Korotkiy 2024-11-10 03:57:05 +04:00
parent 8e8f317319
commit e79dda5d89
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

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;
};
})