diff options
Diffstat (limited to 'pkgs/development/python-modules/etesync/default.nix')
-rw-r--r-- | pkgs/development/python-modules/etesync/default.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/etesync/default.nix b/pkgs/development/python-modules/etesync/default.nix new file mode 100644 index 00000000000..4edf0f71cf2 --- /dev/null +++ b/pkgs/development/python-modules/etesync/default.nix @@ -0,0 +1,55 @@ +{ lib, buildPythonPackage, fetchPypi, isPy27, + appdirs, asn1crypto, cffi, cryptography, furl, idna, orderedmultidict, + packaging, peewee, py, pyasn1, pycparser, pyparsing, pyscrypt, + python-dateutil, pytz, requests, six, vobject, + pytest +}: + +buildPythonPackage rec { + pname = "etesync"; + version = "0.10.0"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "09sdqviv9jyd013gxjjcw6vd4si860304haylvw4dp9kljsd94qa"; + }; + + propagatedBuildInputs = [ + appdirs + asn1crypto + cffi + cryptography + furl + idna + orderedmultidict + packaging + peewee + py + pyasn1 + pycparser + pyparsing + pyscrypt + python-dateutil + pytz + requests + six + vobject + ]; + + checkInputs = [ + pytest + ]; + + checkPhase = '' + pytest tests/test_collections.py + pytest tests/test_crypto.py + ''; + + meta = with lib; { + homepage = "https://www.etesync.com/"; + description = "A python API to interact with an EteSync server."; + license = licenses.lgpl3; + maintainers = with maintainers; [ valodim ]; + }; +} |