about summary refs log tree commit diff
path: root/pkgs/by-name/de
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-11-03 22:41:08 -0700
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-11-05 06:30:37 +0100
commitc2a232a83b6ef9b52487c95d103033077b3b952c (patch)
tree13a9fdf0588264019f13580a2f8c28b0dcd3b588 /pkgs/by-name/de
parent101fe8d20f53f0677c02b36a3c867a504d59a1d2 (diff)
deltachat-repl: init at 1.128.0
Diffstat (limited to 'pkgs/by-name/de')
-rw-r--r--pkgs/by-name/de/deltachat-repl/package.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/de/deltachat-repl/package.nix b/pkgs/by-name/de/deltachat-repl/package.nix
new file mode 100644
index 0000000000000..3de470c08524d
--- /dev/null
+++ b/pkgs/by-name/de/deltachat-repl/package.nix
@@ -0,0 +1,26 @@
+{ 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";
+  };
+}