depot/third_party/nixpkgs/pkgs/development/python-modules/imapclient/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

39 lines
813 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "imapclient";
version = "2.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "mjs";
repo = "imapclient";
rev = version;
hash = "sha256-aHWRhQOEjYiLlWTiuYo/a4pOhfLF7jz+ltG+yOqgfKI=";
};
propagatedBuildInputs = [ six ];
checkInputs = [ 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 ];
};
}