mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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
|
||||
, 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