depot/third_party/nixpkgs/pkgs/development/python-modules/imapclient/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

39 lines
819 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 ];
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 ];
};
}