mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
28 lines
516 B
Nix
28 lines
516 B
Nix
{ rustPlatform
|
|
, libdeltachat
|
|
, pkg-config
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "deltachat-rpc-server";
|
|
|
|
inherit (libdeltachat) version src cargoLock buildInputs;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
env = {
|
|
OPENSSL_NO_VENDOR = true;
|
|
};
|
|
|
|
cargoBuildFlags = [ "--package" "deltachat-rpc-server" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = libdeltachat.meta // {
|
|
description = "Delta Chat RPC server exposing JSON-RPC core API over standard I/O";
|
|
mainProgram = "deltachat-rpc-server";
|
|
};
|
|
}
|