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