f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
25 lines
486 B
Nix
25 lines
486 B
Nix
{ 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";
|
|
};
|
|
}
|