a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
33 lines
658 B
Nix
33 lines
658 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "imaplib2";
|
|
version = "3.6";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jazzband";
|
|
repo = "imaplib2";
|
|
rev = "v${version}";
|
|
sha256 = "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "imaplib2" ];
|
|
|
|
meta = with lib; {
|
|
description = "A threaded Python IMAP4 client";
|
|
homepage = "https://github.com/jazzband/imaplib2";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|