2021-01-09 14:14:49 -08:00
|
|
|
{ lib
|
2021-01-25 00:26:54 -08:00
|
|
|
|
2020-11-08 08:00:17 -08: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-09 14:14:49 -08:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "notmuch2" ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-11-08 08:00:17 -08:00
|
|
|
description = "Pythonic bindings for the notmuch mail database using CFFI";
|
|
|
|
homepage = "https://notmuchmail.org/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|