ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / etesync / default.nix
blobee81ead97c3a3032a20b6b78b41e6eb2528cf842
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 }:
8 buildPythonPackage rec {
9   pname = "etesync";
10   version = "0.12.1";
11   disabled = isPy27;
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "f20f7e9922ee789c4b71379676ebfe656b675913fe524f2ee722e1b9ef4e5197";
16   };
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   ];
40   checkInputs = [
41     pytest
42   ];
44   checkPhase = ''
45     pytest tests/test_collections.py
46     pytest tests/test_crypto.py
47   '';
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   };