Merge pull request #299844 from link2xt/deltachat-rpc-server

deltachat-rpc-server: init at 1.136.3
This commit is contained in:
Robert Schütz 2024-06-10 10:04:32 -07:00 committed by GitHub
commit 90e4a08f48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
};
};