3ec2fa6bfd
GitOrigin-RevId: 0dde103318090f77ac95ef7fc26fe0cdd00fa0b3
27 lines
542 B
Nix
27 lines
542 B
Nix
{ lib
|
|
|
|
, buildPythonPackage
|
|
, notmuch
|
|
, python
|
|
, cffi
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "notmuch2";
|
|
inherit (notmuch) version src;
|
|
|
|
sourceRoot = "notmuch-${notmuch.version}/bindings/python-cffi";
|
|
|
|
buildInputs = [ python notmuch cffi ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "notmuch2" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pythonic bindings for the notmuch mail database using CFFI";
|
|
homepage = "https://notmuchmail.org/";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ teto ];
|
|
};
|
|
}
|