-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zeno-backends-*/plugins-*: init at 1.1.0 (#364855)
- Loading branch information
Showing
5 changed files
with
191 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
pkg-config, | ||
bzip2, | ||
zstd, | ||
rocksdb_8_11, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "zenoh-backend-filesystem"; | ||
version = "1.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "eclipse-zenoh"; | ||
repo = "zenoh-backend-filesystem"; | ||
tag = version; | ||
hash = "sha256-HZp0kR7vCXRg04aiRbefbTMprgOH3Chy7X2x8X9urTk="; | ||
}; | ||
|
||
cargoHash = "sha256-HXxlgAszm2HbuKRhoWjluu/U9PMRHxs4/TRxEsl0Cgg="; | ||
|
||
nativeBuildInputs = [ | ||
pkg-config | ||
rustPlatform.bindgenHook | ||
]; | ||
|
||
buildInputs = [ | ||
bzip2 | ||
zstd | ||
]; | ||
|
||
env = { | ||
ROCKSDB_INCLUDE_DIR = "${rocksdb_8_11}/include"; | ||
ROCKSDB_LIB_DIR = "${rocksdb_8_11}/lib"; | ||
ZSTD_SYS_USE_PKG_CONFIG = true; | ||
}; | ||
|
||
meta = { | ||
description = "Backend and Storages for zenoh using the file system"; | ||
homepage = "https://github.com/eclipse-zenoh/zenoh-backend-filesystem"; | ||
license = with lib.licenses; [ | ||
epl20 | ||
asl20 | ||
]; | ||
maintainers = with lib.maintainers; [ markuskowa ]; | ||
platforms = lib.platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "zenoh-backend-influxdb"; | ||
version = "1.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "eclipse-zenoh"; | ||
repo = "zenoh-backend-influxdb"; | ||
tag = version; | ||
hash = "sha256-VQoJO+9DYDkIKTTqLy/i2uBeFPuXO2Y0NnYrJTa1tvc="; | ||
}; | ||
|
||
cargoHash = "sha256-kaaOcRDqqZvVNfCuIKYJAPK+KLUE41/1R/Cih4cpVjw="; | ||
|
||
meta = { | ||
description = "Backend and Storages for zenoh using InfluxDB"; | ||
homepage = "https://github.com/eclipse-zenoh/zenoh-backend-influxdb"; | ||
license = with lib.licenses; [ | ||
epl20 | ||
asl20 | ||
]; | ||
maintainers = with lib.maintainers; [ markuskowa ]; | ||
platforms = lib.platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
pkg-config, | ||
bzip2, | ||
zstd, | ||
rocksdb_8_11, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "zenoh-backend-rocksdb"; | ||
version = "1.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "eclipse-zenoh"; | ||
repo = "zenoh-backend-rocksdb"; | ||
tag = version; | ||
hash = "sha256-QCUS3jiWa2gbD/X/Va8s5WX4+3RKFOizh8FB/nsqWGM="; | ||
}; | ||
|
||
cargoHash = "sha256-k7u4P3ropwgzaqN/bom4mfOsXvNHmn3VQc7NUakgusA="; | ||
|
||
nativeBuildInputs = [ | ||
pkg-config | ||
rustPlatform.bindgenHook | ||
]; | ||
|
||
buildInputs = [ | ||
bzip2 | ||
zstd | ||
]; | ||
|
||
env = { | ||
ROCKSDB_INCLUDE_DIR = "${rocksdb_8_11}/include"; | ||
ROCKSDB_LIB_DIR = "${rocksdb_8_11}/lib"; | ||
ZSTD_SYS_USE_PKG_CONFIG = true; | ||
}; | ||
|
||
meta = { | ||
description = "Backend and Storages for zenoh using RocksDB"; | ||
homepage = "https://github.com/eclipse-zenoh/zenoh-backend-rocksdb"; | ||
license = with lib.licenses; [ | ||
epl20 | ||
asl20 | ||
]; | ||
maintainers = with lib.maintainers; [ markuskowa ]; | ||
platforms = lib.platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "zenoh-plugin-mqtt"; | ||
version = "1.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "eclipse-zenoh"; | ||
repo = "zenoh-plugin-mqtt"; | ||
tag = version; | ||
hash = "sha256-GsYT46mBsvvSW3BG2stVpERvelbRIiUaWTco39IY6/A="; | ||
}; | ||
|
||
cargoHash = "sha256-8q8pMUMciB8cPSpkeu9sjGJm6DxXicd0k/NJ+1uz4VU="; | ||
|
||
meta = { | ||
description = "A Zenoh plug-in that allows to integrate and/or route MQTT pub/sub with Eclipse Zenoh"; | ||
homepage = "https://github.com/eclipse-zenoh/zenoh-plugin-mqtt"; | ||
license = with lib.licenses; [ | ||
epl20 | ||
asl20 | ||
]; | ||
maintainers = with lib.maintainers; [ markuskowa ]; | ||
platforms = lib.platforms.linux; | ||
mainProgram = "zenoh-bridge-mqtt"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |