Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 535 B view raw
1{ lib 2 3, buildPythonPackage 4, notmuch 5, python 6, cffi 7}: 8 9buildPythonPackage { 10 pname = "notmuch2"; 11 inherit (notmuch) version src; 12 13 sourceRoot = "${notmuch.src.name}/bindings/python-cffi"; 14 15 buildInputs = [ python notmuch cffi ]; 16 17 # no tests 18 doCheck = false; 19 pythonImportsCheck = [ "notmuch2" ]; 20 21 meta = with lib; { 22 description = "Pythonic bindings for the notmuch mail database using CFFI"; 23 homepage = "https://notmuchmail.org/"; 24 license = licenses.gpl3; 25 maintainers = with maintainers; [ teto ]; 26 }; 27}