nixpkgs/pkgs/development/python-modules/notmuch/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

37 lines
596 B
Nix

{
lib,
buildPythonPackage,
notmuch,
python,
}:
buildPythonPackage {
inherit (notmuch) pname version src;
sourceRoot = notmuch.pythonSourceRoot;
format = "setuptools";
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 = "Python wrapper around notmuch";
homepage = "https://notmuchmail.org/";
license = licenses.gpl3;
maintainers = [ ];
};
}