From 879a6469272cc03d4cedb8d6998da8f64af78fc7 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Wed, 11 Dec 2024 22:56:17 +0100 Subject: [PATCH] zenoh-plugin-webserver: init 1.1.0 --- .../ze/zenoh-plugin-webserver/package.nix | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/ze/zenoh-plugin-webserver/package.nix diff --git a/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix b/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix new file mode 100644 index 00000000000000..551b9d048148ed --- /dev/null +++ b/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix @@ -0,0 +1,30 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage rec { + pname = "zenoh-plugin-webserver"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "eclipse-zenoh"; + repo = "zenoh-plugin-webserver"; + tag = version; + hash = "sha256-fdnag/IcGMZUti62y3rLMZ3lt42cd3SSa8kZFXVn6BQ="; + }; + + cargoHash = "sha256-YckyHArQG/mYmDdA2qt4Wmw7Agx/CItjIgajJD0O5WA="; + + meta = { + description = "Implements an HTTP server mapping URLs to zenoh paths"; + homepage = "https://github.com/eclipse-zenoh/zenoh-plugin-webserver"; + license = with lib.licenses; [ + epl20 + asl20 + ]; + maintainers = with lib.maintainers; [ markuskowa ]; + platforms = lib.platforms.linux; + }; +}