depot/third_party/nixpkgs/pkgs/development/python-modules/imapclient/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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