Files
nixpkgs/pkgs/by-name/ve/veilid/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

70 lines
1.2 KiB
Nix

{
lib,
fetchFromGitLab,
rustPlatform,
protobuf,
capnproto,
cmake,
testers,
veilid,
gitUpdater,
}:
rustPlatform.buildRustPackage rec {
pname = "veilid";
version = "0.4.8";
src = fetchFromGitLab {
owner = "veilid";
repo = "veilid";
rev = "v${version}";
hash = "sha256-ZhF9dMYrd+nui/tw1SuL0i6zB/niBfsd40SQzRgGF6Q=";
};
cargoHash = "sha256-Q4M6cb9xYxeH4O7YL2K8olJ9w8Iq34hYpuJEGGhVN+Y=";
nativeBuildInputs = [
capnproto
cmake
protobuf
];
cargoBuildFlags = [
"--workspace"
];
RUSTFLAGS = "--cfg tokio_unstable";
doCheck = false;
outputs = [
"out"
"lib"
"dev"
];
postInstall = ''
moveToOutput "lib" "$lib"
'';
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests = {
veilid-version = testers.testVersion {
package = veilid;
};
};
};
meta = with lib; {
description = "Open-source, peer-to-peer, mobile-first, networked application framework";
mainProgram = "veilid-server";
homepage = "https://veilid.com";
license = licenses.mpl20;
maintainers = with maintainers; [
bbigras
qbit
];
};
}