28 lines
453 B
Nix
28 lines
453 B
Nix
|
{ rustPlatform
|
||
|
, libdeltachat
|
||
|
, pkg-config
|
||
|
}:
|
||
|
|
||
|
rustPlatform.buildRustPackage {
|
||
|
pname = "deltachat-repl";
|
||
|
|
||
|
inherit (libdeltachat) version src cargoLock buildInputs;
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
pkg-config
|
||
|
];
|
||
|
|
||
|
env = {
|
||
|
OPENSSL_NO_VENDOR = true;
|
||
|
};
|
||
|
|
||
|
cargoBuildFlags = [ "--package" "deltachat-repl" ];
|
||
|
|
||
|
doCheck = false;
|
||
|
|
||
|
meta = libdeltachat.meta // {
|
||
|
description = "Delta Chat CLI client";
|
||
|
mainProgram = "deltachat-repl";
|
||
|
};
|
||
|
}
|