3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/notmuch/default.nix

27 lines
513 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
2020-03-29 11:34:50 +01:00
, notmuch
, python
}:
2019-08-13 22:52:01 +01:00
buildPythonPackage {
2020-03-29 11:34:50 +01:00
inherit (notmuch) pname version src;
2020-03-29 11:34:50 +01:00
sourceRoot = notmuch.pythonSourceRoot;
2020-03-29 11:34:50 +01:00
buildInputs = [ python notmuch ];
postPatch = ''
2020-03-29 11:34:50 +01: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; [ ];
};
}