Something went wrong. Try again.
lol
Something went wrong. Try again.
879 B · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ buildPythonPackage, pkg-config, pkgconfig, setuptools-scm, libdeltachat, cffi, imap-tools, requests, pluggy, pytestCheckHook,}:
buildPythonPackage rec { pname = "deltachat"; inherit (libdeltachat) version src; sourceRoot = "${src.name}/python";
pyproject = true;
nativeBuildInputs = [ cffi pkg-config pkgconfig setuptools-scm ];
buildInputs = [ libdeltachat ];
propagatedBuildInputs = [ cffi imap-tools pluggy requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "deltachat" "deltachat.account" "deltachat.contact" "deltachat.chat" "deltachat.message" ];
meta = libdeltachat.meta // { description = "Python bindings for the Delta Chat Core library"; homepage = "https://github.com/deltachat/deltachat-core-rust/tree/master/python"; };}