3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from DamienCassou/vdirsyncer-0.19.0

This commit is contained in:
Damien Cassou 2022-12-11 11:00:34 +01:00 committed by GitHub
commit 68df111356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,25 +7,30 @@
, click-threading
, requests-toolbelt
, requests
, requests-oauthlib
, atomicwrites
, hypothesis
, pytestCheckHook
, pytest-localserver
, pytest-subtesthack
, setuptools-scm
, aiostream
, aiohttp
, pytest-asyncio
, trustme
, aioresponses
, vdirsyncer
, testers
}:
buildPythonPackage rec {
pname = "vdirsyncer";
version = "0.18.0";
version = "0.19.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-J7w+1R93STX7ujkpFcjI1M9jmuUaRLZ0aGtJoQJfwgE=";
hash = "sha256:0995bavlv8s9j0127ncq3yzy5p72lam9qgpswyjfanc6l01q87lf";
};
postPatch = ''
@ -41,8 +46,9 @@ buildPythonPackage rec {
click-log
click-threading
requests
requests-oauthlib
requests-toolbelt
aiostream
aiohttp
];
nativeBuildInputs = [
@ -52,8 +58,10 @@ buildPythonPackage rec {
checkInputs = [
hypothesis
pytestCheckHook
pytest-localserver
pytest-subtesthack
pytest-asyncio
trustme
aioresponses
];
preCheck = ''
@ -66,6 +74,8 @@ buildPythonPackage rec {
"test_verbosity"
];
passthru.tests.version = testers.testVersion { package = vdirsyncer; };
meta = with lib; {
homepage = "https://github.com/pimutils/vdirsyncer";
description = "Synchronize calendars and contacts";