default.nix (732B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 boost, 7 }: 8 9 stdenv.mkDerivation { 10 pname = "freeopcua"; 11 version = "0-unstable-2023-05-30"; 12 13 src = fetchFromGitHub { 14 owner = "FreeOpcUa"; 15 repo = "freeopcua"; 16 rev = "6eac0975636425d2e122b228ca69fea2d30c9ce6"; 17 hash = "sha256-Vf2+VDiW11aVRY8hAzdQBxQjwDWG/tVzXSw7aU/Gd9c="; 18 }; 19 20 nativeBuildInputs = [ cmake ]; 21 22 buildInputs = [ boost ]; 23 24 cmakeFlags = [ (lib.cmakeBool "SSL_SUPPORT_MBEDTLS" false) ]; 25 26 meta = { 27 description = "Open Source C++ OPC-UA Server and Client Library"; 28 homepage = "https://github.com/FreeOpcUa/freeopcua"; 29 license = lib.licenses.lgpl3; 30 maintainers = [ lib.maintainers.sikmir ]; 31 platforms = lib.platforms.unix; 32 }; 33 }