Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
bzip2,
|
|
zstd,
|
|
rocksdb,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "zenoh-backend-filesystem";
|
|
version = "1.4.0"; # nixpkgs-update: no auto update
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eclipse-zenoh";
|
|
repo = "zenoh-backend-filesystem";
|
|
tag = version;
|
|
hash = "sha256-aMIVBs3K9h2aVPuaU5DzOjm3xzpHJn8MnjxdCDCANCw=";
|
|
};
|
|
|
|
cargoHash = "sha256-d7LgxaZHcMpqx0/+qmcHlAn1pAjBrGqjeTsiqZEJ+1Q=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
rustPlatform.bindgenHook
|
|
];
|
|
|
|
buildInputs = [
|
|
bzip2
|
|
zstd
|
|
];
|
|
|
|
env = {
|
|
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
|
|
ROCKSDB_LIB_DIR = "${rocksdb}/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;
|
|
};
|
|
}
|