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