depot/third_party/nixpkgs/pkgs/development/python-modules/imapclient/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

30 lines
635 B
Nix

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