nixpkgs/pkgs/development/python-modules/aioimaplib/default.nix
2021-04-15 14:26:25 +02:00

50 lines
838 B
Nix

{ lib
, asynctest
, buildPythonPackage
, docutils
, fetchFromGitHub
, imaplib2
, mock
, nose
, pyopenssl
, pytestCheckHook
, pythonAtLeast
, pytz
, tzlocal
}:
buildPythonPackage rec {
pname = "aioimaplib";
version = "0.8.0";
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub {
owner = "bamthomas";
repo = pname;
rev = version;
sha256 = "sha256-ume25EwLNB6szokHXonDXHGKVK76CiZYOBXVUf37/x8=";
};
checkInputs = [
asynctest
docutils
imaplib2
mock
nose
pyopenssl
pytestCheckHook
pytz
tzlocal
];
pythonImportsCheck = [ "aioimaplib" ];
meta = with lib; {
description = "Python asyncio IMAP4rev1 client library";
homepage = "https://github.com/bamthomas/aioimaplib";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}