alot: application instead of python library

This also allows us to move notmuch2 out of python-packages.nix.
This commit is contained in:
Frederik Rietdijk
2022-01-16 08:58:07 +01:00
committed by Frederik Rietdijk
parent 04cee7c9ab
commit 2027fb600d
4 changed files with 9 additions and 11 deletions

View File

@@ -1,27 +0,0 @@
{ 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 ];
};
}