Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
926 B · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ buildPythonPackage, pythonOlder, pkg-config, pkgconfig, setuptools-scm, libdeltachat, cffi, imap-tools, requests, pluggy, pytestCheckHook,}:
buildPythonPackage rec { pname = "deltachat"; inherit (libdeltachat) version src; sourceRoot = "${src.name}/python";
disabled = pythonOlder "3.7"; 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"; };}