depot/third_party/nixpkgs/pkgs/by-name/de/deltachat-repl/package.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

26 lines
429 B
Nix

{ 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";
};
}