1{ lib
2
3, buildPythonPackage
4, notmuch
5, python
6, cffi
7}:
8
9buildPythonPackage {
10 pname = "notmuch2";
11 inherit (notmuch) version src;
12
13 sourceRoot = "notmuch-${notmuch.version}/bindings/python-cffi";
14
15 buildInputs = [ python notmuch cffi ];
16
17 # no tests
18 doCheck = false;
19 pythonImportsCheck = [ "notmuch2" ];
20
21 meta = with lib; {
22 description = "Pythonic bindings for the notmuch mail database using CFFI";
23 homepage = "https://notmuchmail.org/";
24 license = licenses.gpl3;
25 maintainers = with maintainers; [ teto ];
26 };
27}