1{ lib 2 3, buildPythonPackage 4, notmuch 5, python 6}: 7 8buildPythonPackage { 9 inherit (notmuch) pname version src; 10 11 sourceRoot = notmuch.pythonSourceRoot; 12 13 buildInputs = [ python notmuch ]; 14 15 postPatch = '' 16 sed -i -e '/CDLL/s@"libnotmuch\.@"${notmuch}/lib/libnotmuch.@' \ 17 notmuch/globals.py 18 ''; 19 20 # no tests 21 doCheck = false; 22 pythonImportsCheck = [ "notmuch" ]; 23 24 meta = with lib; { 25 description = "A Python wrapper around notmuch"; 26 homepage = "https://notmuchmail.org/"; 27 license = licenses.gpl3; 28 maintainers = with maintainers; [ ]; 29 }; 30 31}