emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / imaplib2 / default.nix
blob5df25d7ca5ee04a833c3eddf1665d161d64b6dce
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "imaplib2";
11   version = "3.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "jazzband";
18     repo = "imaplib2";
19     rev = "v${version}";
20     sha256 = "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "imaplib2" ];
27   meta = with lib; {
28     description = "Threaded Python IMAP4 client";
29     homepage = "https://github.com/jazzband/imaplib2";
30     license = licenses.mit;
31     maintainers = with maintainers; [ dotlambda ];
32   };