Commit 5016616e authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

libdeltachat: also install interactive repl

parent 60602f1d
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
{ 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
+5 −2
Original line number Diff line number Diff line
@@ -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;
};
}