summary refs log tree commit diff
path: root/pkgs/by-name/de/deltachat-repl/package.nix
blob: 3de470c08524d8764ae4ef6273ac67f9359fa305 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, rustPlatform
, libdeltachat
, perl
, pkg-config
}:

rustPlatform.buildRustPackage {
  pname = "deltachat-repl";

  inherit (libdeltachat) version src cargoLock buildInputs;

  nativeBuildInputs = [
    perl
    pkg-config
  ];

  cargoBuildFlags = [ "--package" "deltachat-repl" ];

  doCheck = false;

  meta = libdeltachat.meta // {
    description = "Delta Chat CLI client";
    mainProgram = "deltachat-repl";
  };
}