ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / imapclient / default.nix
blob5a231c13a3ee0a40015b03a9995074afcd6720b1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   six,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "imapclient";
11   version = "3.0.1";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "mjs";
17     repo = "imapclient";
18     rev = "refs/tags/${version}";
19     hash = "sha256-WY3OLPUwixrL2NSLfNBSSNMXJEoYBL+O6KoglU3Cz9g=";
20   };
22   propagatedBuildInputs = [ six ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [
27     "imapclient"
28     "imapclient.response_types"
29     "imapclient.exceptions"
30     "imapclient.testable_imapclient"
31     "imapclient.tls"
32   ];
34   meta = with lib; {
35     homepage = "https://imapclient.readthedocs.io";
36     description = "Easy-to-use, Pythonic and complete IMAP client library";
37     license = licenses.bsd3;
38     maintainers = with maintainers; [
39       almac
40       dotlambda
41     ];
42   };