deltachat-rpc-server: init at 1.136.3
This commit is contained in:
parent
3c9cdd2965
commit
e9a83b6e25
26
pkgs/by-name/de/deltachat-rpc-server/package.nix
Normal file
26
pkgs/by-name/de/deltachat-rpc-server/package.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -5,6 +5,7 @@
|
|||||||
, cmake
|
, cmake
|
||||||
, deltachat-desktop
|
, deltachat-desktop
|
||||||
, deltachat-repl
|
, deltachat-repl
|
||||||
|
, deltachat-rpc-server
|
||||||
, openssl
|
, openssl
|
||||||
, perl
|
, perl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
@ -81,7 +82,7 @@ in stdenv.mkDerivation rec {
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit cargoLock;
|
inherit cargoLock;
|
||||||
tests = {
|
tests = {
|
||||||
inherit deltachat-desktop deltachat-repl;
|
inherit deltachat-desktop deltachat-repl deltachat-rpc-server;
|
||||||
python = python3.pkgs.deltachat;
|
python = python3.pkgs.deltachat;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user