|
|
|
@ -5,6 +5,7 @@ |
|
|
|
|
, openssl |
|
|
|
|
, perl |
|
|
|
|
, pkg-config |
|
|
|
|
, python3 |
|
|
|
|
, rustPlatform |
|
|
|
|
, sqlcipher |
|
|
|
|
, sqlite |
|
|
|
@ -16,13 +17,13 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "libdeltachat"; |
|
|
|
|
version = "1.79.0"; |
|
|
|
|
version = "1.80.0"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "deltachat"; |
|
|
|
|
repo = "deltachat-core-rust"; |
|
|
|
|
rev = version; |
|
|
|
|
hash = "sha256-jwAPbTwMSWDucAvip5KcA7fb4LCWo70SiIspacijMvQ="; |
|
|
|
|
hash = "sha256-4b2tf7QmLQ5ltnkxUGCwA1TZSQRoyKaRGcxBxbSKDaE="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
@ -32,7 +33,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball { |
|
|
|
|
inherit src; |
|
|
|
|
name = "${pname}-${version}"; |
|
|
|
|
hash = "sha256-Fn4M4CQV7VTE7SubvOszhpGBbmDyqemyUeZ0qDmcGUU="; |
|
|
|
|
hash = "sha256-t1/xztmiuJMqNkIe7cBzO7MaZQb6GtnIX5wxEpC+IFo="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
@ -60,6 +61,10 @@ stdenv.mkDerivation rec { |
|
|
|
|
cargoCheckHook |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
passthru.tests = { |
|
|
|
|
python = python3.pkgs.deltachat; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Delta Chat Rust Core library"; |
|
|
|
|
homepage = "https://github.com/deltachat/deltachat-core-rust/"; |
|
|
|
|