nixpkgs/pkgs/development/python-modules/notmuch/default.nix

27 lines
513 B
Nix
Raw Normal View History

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