at 23.05-pre 1.1 kB view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27, 2 appdirs, asn1crypto, cffi, cryptography, furl, idna, orderedmultidict, 3 packaging, peewee, py, pyasn1, pycparser, pyparsing, pyscrypt, 4 python-dateutil, pytz, requests, six, vobject, 5 pytest 6}: 7 8buildPythonPackage rec { 9 pname = "etesync"; 10 version = "0.12.1"; 11 disabled = isPy27; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "f20f7e9922ee789c4b71379676ebfe656b675913fe524f2ee722e1b9ef4e5197"; 16 }; 17 18 propagatedBuildInputs = [ 19 appdirs 20 asn1crypto 21 cffi 22 cryptography 23 furl 24 idna 25 orderedmultidict 26 packaging 27 peewee 28 py 29 pyasn1 30 pycparser 31 pyparsing 32 pyscrypt 33 python-dateutil 34 pytz 35 requests 36 six 37 vobject 38 ]; 39 40 checkInputs = [ 41 pytest 42 ]; 43 44 checkPhase = '' 45 pytest tests/test_collections.py 46 pytest tests/test_crypto.py 47 ''; 48 49 meta = with lib; { 50 homepage = "https://www.etesync.com/"; 51 description = "A python API to interact with an EteSync server."; 52 license = licenses.lgpl3; 53 maintainers = with maintainers; [ valodim ]; 54 }; 55}