nixpkgs/pkgs/development/python-modules/notmuch/2.nix

28 lines
543 B
Nix
Raw Normal View History

2021-01-09 22:14:49 +00:00
{ lib
, stdenv
, 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 22:14:49 +00:00
# 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 ];
};
}