depot/third_party/nixpkgs/pkgs/development/python-modules/imaplib2/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
682 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "imaplib2";
version = "3.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "jazzband";
repo = "imaplib2";
rev = "v${version}";
sha256 = "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "imaplib2" ];
meta = with lib; {
description = "Threaded Python IMAP4 client";
homepage = "https://github.com/jazzband/imaplib2";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}