ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / imaplib2 / default.nix
blobc58b698a4a468b08a1b3adef589ef926a1cf8ebd
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "imaplib2";
10   version = "3.6";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "jazzband";
16     repo = "imaplib2";
17     rev = "v${version}";
18     sha256 = "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m";
19   };
21   checkInputs = [
22     pytestCheckHook
23   ];
25   pythonImportsCheck = [ "imaplib2" ];
27   meta = with lib; {
28     description = "A threaded Python IMAP4 client";
29     homepage = "https://github.com/jazzband/imaplib2";
30     license = licenses.mit;
31     maintainers = with maintainers; [ dotlambda ];
32   };