2018-10-17 18:19:42 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, pkgs
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
buildPythonPackage {
|
2018-10-17 18:19:42 +00:00
|
|
|
name = "python-${pkgs.notmuch.name}";
|
|
|
|
|
|
|
|
src = pkgs.notmuch.src;
|
|
|
|
|
|
|
|
sourceRoot = pkgs.notmuch.pythonSourceRoot;
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.notmuch ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e '/CDLL/s@"libnotmuch\.@"${pkgs.notmuch}/lib/libnotmuch.@' \
|
|
|
|
notmuch/globals.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Python wrapper around notmuch";
|
|
|
|
homepage = https://notmuchmail.org/;
|
|
|
|
license = licenses.gpl3;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-17 18:19:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|