mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
37 lines
596 B
Nix
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 = [ ];
|
|
};
|
|
}
|