libdeltachat: also install interactive repl

This commit is contained in:
Jörg Thalheim 2023-11-03 10:00:56 +01:00 committed by Jörg Thalheim
parent 60602f1d4b
commit 5016616e6b
2 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{ lib
, rust
, stdenv
, fetchFromGitHub
, cargo
@ -42,6 +43,18 @@ stdenv.mkDerivation rec {
};
};
outputs = [ "bin" "out" ];
preBuild = ''
cargo build \
--target ${rust.envVars.rustHostPlatformSpec} \
--release \
-p deltachat-repl \
--frozen \
-j $NIX_BUILD_CORES \
-Z unstable-options --out-dir $bin/bin/
'';
nativeBuildInputs = [
cmake
perl

View File

@ -56,8 +56,11 @@ buildPythonPackage rec {
"deltachat.message"
];
meta = libdeltachat.meta // {
meta = {
description = "Python bindings for the Delta Chat Core library";
homepage = "https://github.com/deltachat/deltachat-core-rust/tree/master/python";
};
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ dotlambda srapenne ];
platforms = lib.platforms.unix;
};
}