nixpkgs/pkgs/by-name/de/deltachat-repl/package.nix
2023-11-05 06:30:37 +01:00

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