nur-packages

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

default.nix (792B)


      1 {
      2   lib,
      3   rustPlatform,
      4   fetchFromGitHub,
      5   pkg-config,
      6   openssl,
      7 }:
      8 
      9 rustPlatform.buildRustPackage rec {
     10   pname = "opcua";
     11   version = "0.12.0-unstable-2024-10-09";
     12 
     13   src = fetchFromGitHub {
     14     owner = "locka99";
     15     repo = "opcua";
     16     rev = "fcc89d8f8b93b5a0943ec8086706e883900faa3c";
     17     hash = "sha256-0rwpAVynm0EfE4Wvq37P9O/om+zjNpi7G8iETCfZX6A=";
     18   };
     19 
     20   cargoHash = "sha256-rmhEwDrQGX1ISeT2xXg63JjrEqx1oCD6VIfVUGmFFiU=";
     21 
     22   nativeBuildInputs = [ pkg-config ];
     23 
     24   buildInputs = [ openssl ];
     25 
     26   __darwinAllowLocalNetworking = true;
     27 
     28   meta = {
     29     description = "Client and server implementation of the OPC UA specification written in Rust";
     30     homepage = "https://github.com/locka99/opcua";
     31     license = lib.licenses.mpl20;
     32     maintainers = [ lib.maintainers.sikmir ];
     33   };
     34 }