nixpkgs/pkgs/development/python-modules/etesync/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

57 lines
1.1 KiB
Nix

{ 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.12.1";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f20f7e9922ee789c4b71379676ebfe656b675913fe524f2ee722e1b9ef4e5197";
};
propagatedBuildInputs = [
appdirs
asn1crypto
cffi
cryptography
furl
idna
orderedmultidict
packaging
peewee
py
pyasn1
pycparser
pyparsing
pyscrypt
python-dateutil
pytz
requests
six
vobject
];
nativeCheckInputs = [
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 ];
};
}