Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 42 lines 808 B view raw
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchFromGitHub 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "imap-tools"; 10 version = "0.41.0"; 11 12 disabled = isPy27; 13 14 src = fetchFromGitHub { 15 owner = "ikvk"; 16 repo = "imap_tools"; 17 rev = "v${version}"; 18 sha256 = "sha256-gtfVZTHeiYamKkcu9n/CJ4O4X1YneY2QB3XZnvtNL3U="; 19 }; 20 21 checkInputs = [ 22 pytestCheckHook 23 ]; 24 25 disabledTests = [ 26 # tests require a network connection 27 "test_action" 28 "test_folders" 29 "test_connectio" 30 "test_attributes" 31 "test_live" 32 ]; 33 34 pythonImportsCheck = [ "imap_tools" ]; 35 36 meta = with lib; { 37 description = "Work with email and mailbox by IMAP"; 38 homepage = "https://github.com/ikvk/imap_tools"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ dotlambda ]; 41 }; 42}