2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-11-15 13:44:38 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, notmuch
|
|
|
|
, python
|
|
|
|
, cffi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "notmuch2";
|
|
|
|
inherit (notmuch) version src;
|
|
|
|
|
|
|
|
sourceRoot = "${notmuch.src.name}/bindings/python-cffi";
|
|
|
|
|
|
|
|
buildInputs = [ python notmuch cffi ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "notmuch2" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-11-15 13:44:38 +00:00
|
|
|
description = "Pythonic bindings for the notmuch mail database using CFFI";
|
|
|
|
homepage = "https://notmuchmail.org/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|