Skip to content

Commit

Permalink
zenoh-plugin-webserver: init 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskowa committed Dec 13, 2024
1 parent 94dabd8 commit 66e4e26
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/ze/zenoh-plugin-webserver/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
darwin,
}:

rustPlatform.buildRustPackage rec {
pname = "zenoh-plugin-webserver";
version = "1.1.0";

src = fetchFromGitHub {
owner = "eclipse-zenoh";
repo = "zenoh-plugin-webserver";
rev = version;
hash = "sha256-fdnag/IcGMZUti62y3rLMZ3lt42cd3SSa8kZFXVn6BQ=";
};

cargoHash = "sha256-YckyHArQG/mYmDdA2qt4Wmw7Agx/CItjIgajJD0O5WA=";

buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

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 ];
};
}

0 comments on commit 66e4e26

Please sign in to comment.