nixpkgs/pkgs/by-name/de/deltachat-repl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
429 B
Nix
Raw Normal View History

2023-11-04 05:41:08 +00:00
{ 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";
};
}