2018-10-17 19:19:42 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, pkgs
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
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 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-17 19:19:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|