pythonPackages.etesync: init at 0.9.3
This commit is contained in:
parent
384afdc82c
commit
5b244b986d
2 changed files with 57 additions and 0 deletions
55
pkgs/development/python-modules/etesync/default.nix
Normal file
55
pkgs/development/python-modules/etesync/default.nix
Normal file
|
@ -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.9.3";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1i6v7i4xmbpkc1pgpzq8gyl2kvg3a1kpdwp8q6l3l0vf9p5qm06w";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -3457,6 +3457,8 @@ in {
|
|||
|
||||
et_xmlfile = callPackage ../development/python-modules/et_xmlfile { };
|
||||
|
||||
etesync = callPackage ../development/python-modules/etesync { };
|
||||
|
||||
eventlet = callPackage ../development/python-modules/eventlet { };
|
||||
|
||||
exifread = callPackage ../development/python-modules/exifread { };
|
||||
|
|
Loading…
Reference in a new issue