mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #299844 from link2xt/deltachat-rpc-server
deltachat-rpc-server: init at 1.136.3
This commit is contained in:
commit
90e4a08f48
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
|
||||
, 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;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user