mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
26 lines
423 B
Nix
26 lines
423 B
Nix
{ 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";
|
|
};
|
|
}
|