fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
857 B
Nix
43 lines
857 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
six,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "imapclient";
|
|
version = "3.0.1";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mjs";
|
|
repo = "imapclient";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-WY3OLPUwixrL2NSLfNBSSNMXJEoYBL+O6KoglU3Cz9g=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [
|
|
"imapclient"
|
|
"imapclient.response_types"
|
|
"imapclient.exceptions"
|
|
"imapclient.testable_imapclient"
|
|
"imapclient.tls"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://imapclient.readthedocs.io";
|
|
description = "Easy-to-use, Pythonic and complete IMAP client library";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [
|
|
almac
|
|
dotlambda
|
|
];
|
|
};
|
|
}
|