diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 418a048b1b62..2bf8b3069d0d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13417,6 +13417,11 @@ github = "katrinafyi"; githubId = 39479354; }; + kaweees = { + github = "kaweees"; + githubId = 49963287; + name = "Miguel Villa Floran"; + }; kayhide = { email = "kayhide@gmail.com"; github = "kayhide"; diff --git a/pkgs/by-name/ze/zenoh-plugin-dds/package.nix b/pkgs/by-name/ze/zenoh-plugin-dds/package.nix new file mode 100644 index 000000000000..41b098d50c8c --- /dev/null +++ b/pkgs/by-name/ze/zenoh-plugin-dds/package.nix @@ -0,0 +1,42 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + cmake, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "zenoh-plugin-dds"; + version = "1.4.0"; # nixpkgs-update: no auto update + + src = fetchFromGitHub { + owner = "eclipse-zenoh"; + repo = "zenoh-plugin-dds"; + tag = finalAttrs.version; + hash = "sha256-vSFgxSSbLEwpwPznvy+m66Z5grgmxZiIom/I4p0xris="; + }; + + cargoHash = "sha256-oMmO4N1EqqpWcujbm8sPPwEzNC1Gy2UdCCRqcgyQqdI="; + + nativeBuildInputs = [ + cmake + rustPlatform.bindgenHook + ]; + + checkFlags = [ + "--skip=test_name_that_times_out" + ]; + + meta = { + description = "Zenoh plugin for DDS"; + longDescription = "A zenoh plug-in that allows to transparently route DDS data. This plugin can be used by DDS applications to leverage zenoh for geographical routing or for better scaling discovery"; + homepage = "https://github.com/eclipse-zenoh/zenoh-plugin-dds"; + changelog = "https://github.com/eclipse-zenoh/zenoh-plugin-dds/releases/tag/${finalAttrs.src.rev}"; + license = with lib.licenses; [ + epl20 + asl20 + ]; + maintainers = with lib.maintainers; [ kaweees ]; + platforms = lib.platforms.linux; + mainProgram = "zenoh-bridge-dds"; + }; +})