mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
2027fb600d
This also allows us to move notmuch2 out of python-packages.nix.
28 lines
542 B
Nix
28 lines
542 B
Nix
{ lib
|
|
|
|
, buildPythonPackage
|
|
, notmuch
|
|
, python
|
|
, cffi
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "notmuch2";
|
|
inherit (notmuch) version src;
|
|
|
|
sourceRoot = "notmuch-${notmuch.version}/bindings/python-cffi";
|
|
|
|
buildInputs = [ python notmuch cffi ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "notmuch2" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pythonic bindings for the notmuch mail database using CFFI";
|
|
homepage = "https://notmuchmail.org/";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ teto ];
|
|
};
|
|
}
|