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