nur-packages

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

default.nix (726B)


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