deltachat-rpc-server: init at 1.136.3

This commit is contained in:
link2xt 2024-03-28 19:35:13 +00:00 committed by user
parent 3c9cdd2965
commit e9a83b6e25
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,26 @@
{ 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";
};
}

View File

@ -5,6 +5,7 @@
, cmake
, deltachat-desktop
, deltachat-repl
, deltachat-rpc-server
, openssl
, perl
, pkg-config
@ -81,7 +82,7 @@ in stdenv.mkDerivation rec {
passthru = {
inherit cargoLock;
tests = {
inherit deltachat-desktop deltachat-repl;
inherit deltachat-desktop deltachat-repl deltachat-rpc-server;
python = python3.pkgs.deltachat;
};
};