about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/imapclient/default.nix
blob: ea4f388b6c7e5f5242a37f78b6c558c9913f66df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, pytestCheckHook
, mock
}:

buildPythonPackage rec {
  pname = "IMAPClient";
  version = "2.2.0";

  src = fetchFromGitHub {
    owner = "mjs";
    repo = "imapclient";
    rev = version;
    sha256 = "sha256-q/8LFKHgrY3pQV7Coz+5pZAw696uABMTEkYoli6C2KA=";
  };

  propagatedBuildInputs = [ six ];

  checkInputs = [ pytestCheckHook mock ];

  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 ];
  };
}