From 63707b54feb16663252b217f53fbfde032712cd5 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Wed, 7 Dec 2022 08:44:56 +0100 Subject: [PATCH 1/2] vdirsyncer: 0.18.0->0.19.0 --- .../python-modules/vdirsyncer/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/vdirsyncer/default.nix b/pkgs/development/python-modules/vdirsyncer/default.nix index b51246739518..b2bc9b41fea2 100644 --- a/pkgs/development/python-modules/vdirsyncer/default.nix +++ b/pkgs/development/python-modules/vdirsyncer/default.nix @@ -7,25 +7,28 @@ , click-threading , requests-toolbelt , requests -, requests-oauthlib , atomicwrites , hypothesis , pytestCheckHook -, pytest-localserver , pytest-subtesthack , setuptools-scm +, aiostream +, aiohttp +, pytest-asyncio +, trustme +, aioresponses }: 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 +44,9 @@ buildPythonPackage rec { click-log click-threading requests - requests-oauthlib requests-toolbelt + aiostream + aiohttp ]; nativeBuildInputs = [ @@ -52,8 +56,10 @@ buildPythonPackage rec { checkInputs = [ hypothesis pytestCheckHook - pytest-localserver pytest-subtesthack + pytest-asyncio + trustme + aioresponses ]; preCheck = '' From c26a6397d60eaac0963ac34d63d035d674d68d75 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Wed, 7 Dec 2022 08:49:49 +0100 Subject: [PATCH 2/2] vdirsyncer: Add passthru.tests.version --- pkgs/development/python-modules/vdirsyncer/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/vdirsyncer/default.nix b/pkgs/development/python-modules/vdirsyncer/default.nix index b2bc9b41fea2..0ddc9b988aae 100644 --- a/pkgs/development/python-modules/vdirsyncer/default.nix +++ b/pkgs/development/python-modules/vdirsyncer/default.nix @@ -17,6 +17,8 @@ , pytest-asyncio , trustme , aioresponses +, vdirsyncer +, testers }: buildPythonPackage rec { @@ -72,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";