mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 12:03:21 +00:00
79e97e485c
0.2.3: - Security fix for WS denial of service - Support for latest Rust 1.72 0.2.2: - Capnproto 1.0.1 + Protobuf 24.3 - DHT set/get correctness fixes - Connection table fixes - Node resolution fixes - More debugging commands (appmessage, appcall, resolve, better nodeinfo, etc) - Reverse connect for WASM nodes - Better Typescript types for WASM - Various script and environment cleanups - Earthly build for aarch64 RPM - Much improved and faster public address detection While here, add myself to the maintainer list. closes #258587 add myself as maintainer
57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, AppKit
|
|
, Security
|
|
, fetchFromGitLab
|
|
, rustPlatform
|
|
, protobuf
|
|
, capnproto
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "veilid";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "veilid";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-fpA0JsBp2mlyDWlwE6xgyX5KNI2FSypO6m1J9BI+Kjs=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"cursive-0.20.0" = "sha256-jETyRRnzt7OMkTo4LRfeRr37oPJpn9R2soxkH7tzGy8=";
|
|
"cursive-flexi-logger-view-0.5.0" = "sha256-zFpfVFNZNNdNMdpJbaT4O2pMYccGEAGnvYzpRziMwfQ=";
|
|
"cursive_buffered_backend-0.6.1" = "sha256-+sTJnp570HupwaJxV2x+oKyLwNmqQ4HqOH2P1s9Hhw8=";
|
|
};
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
capnproto
|
|
protobuf
|
|
];
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ AppKit Security ];
|
|
|
|
cargoBuildFlags = [
|
|
"--workspace"
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
postInstall = ''
|
|
moveToOutput "lib" "$lib"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An open-source, peer-to-peer, mobile-first, networked application framework";
|
|
homepage = "https://veilid.com";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ bbigras qbit ];
|
|
};
|
|
}
|