31 lines
754 B
Nix
31 lines
754 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
rustPlatform,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
rustPlatform.buildRustPackage rec {
|
||
|
|
pname = "zenoh-plugin-webserver";
|
||
|
|
version = "1.4.0"; # nixpkgs-update: no auto update
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "eclipse-zenoh";
|
||
|
|
repo = "zenoh-plugin-webserver";
|
||
|
|
tag = version;
|
||
|
|
hash = "sha256-R+MLM42m3UTBFHqCAGezU4jz0Hi1+X2W1Yje7+ctl6k=";
|
||
|
|
};
|
||
|
|
|
||
|
|
cargoHash = "sha256-/WVMdSGEawvAJ0viV/2eVhWGlvgaGUpe9ZHDCBUOc1I=";
|
||
|
|
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
}
|