diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/mailreaders/alot/notmuch.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/mailreaders/alot/notmuch.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/mailreaders/alot/notmuch.nix b/nixpkgs/pkgs/applications/networking/mailreaders/alot/notmuch.nix new file mode 100644 index 000000000000..bd195b52d44e --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/mailreaders/alot/notmuch.nix @@ -0,0 +1,27 @@ +{ 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 ]; + }; +} |