1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/python-modules/aioimaplib/default.nix
2018-06-30 12:02:07 +02:00

30 lines
820 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, nose, asynctest, mock, pytz, tzlocal, imaplib2, docutils, pyopenssl }:
buildPythonPackage rec {
pname = "aioimaplib";
version = "0.7.14";
# PyPI tarball doesn't ship tests
src = fetchFromGitHub {
owner = "bamthomas";
repo = pname;
rev = version;
sha256 = "150v3czh53sqakfqgjyj1w39mdfcxmpnrk2pbmq63jkq7r6njl0l";
};
disabled = pythonOlder "3.4";
checkInputs = [ nose asynctest mock pytz tzlocal imaplib2 docutils pyopenssl ];
# https://github.com/bamthomas/aioimaplib/issues/35
doCheck = false;
meta = with lib; {
description = "Python asyncio IMAP4rev1 client library";
homepage = https://github.com/bamthomas/aioimaplib;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}