summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioimaplib/default.nix
blob: d335cbc556cb86cc84df8d0060e574313f114348 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, nose, asynctest, mock, pytz, tzlocal, imaplib2, docutils }:

buildPythonPackage rec {
  pname = "aioimaplib";
  version = "0.7.13";

  # PyPI tarball doesn't ship tests
  src = fetchFromGitHub {
    owner = "bamthomas";
    repo = pname;
    rev = version;
    sha256 = "19yhk4ixfw46d0bvx6a40r23nvia5a83dzn5rzwaq1wdjr186bbn";
  };

  disbaled = pythonOlder "3.4";

  checkInputs = [ nose asynctest mock pytz tzlocal imaplib2 docutils ];

  meta = with lib; {
    description = "Python asyncio IMAP4rev1 client library";
    homepage = https://github.com/bamthomas/aioimaplib;
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ dotlambda ];
  };
}