bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
26 lines
492 B
Nix
26 lines
492 B
Nix
{ lib
|
|
, rustPlatform
|
|
, libdeltachat
|
|
, perl
|
|
, pkg-config
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "deltachat-rpc-server";
|
|
|
|
inherit (libdeltachat) version src cargoLock buildInputs;
|
|
|
|
nativeBuildInputs = [
|
|
perl
|
|
pkg-config
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|