mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-16 09:28:35 +03:00
libdeltachat: also install interactive repl
This commit is contained in:
parent
60602f1d4b
commit
5016616e6b
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user