My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/notmuch/default.nix

31 lines
575 B

{ lib
, buildPythonPackage
, notmuch
, python
}:
buildPythonPackage {
inherit (notmuch) pname version src;
sourceRoot = notmuch.pythonSourceRoot;
buildInputs = [ python notmuch ];
postPatch = ''
sed -i -e '/CDLL/s@"libnotmuch\.@"${notmuch}/lib/libnotmuch.@' \
notmuch/globals.py
'';
# no tests
doCheck = false;
pythonImportsCheck = [ "notmuch" ];
meta = with lib; {
description = "A Python wrapper around notmuch";
homepage = "https://notmuchmail.org/";
license = licenses.gpl3;
maintainers = with maintainers; [ ];
};
}