1{
2 aiofiles,
3 aiohttp,
4 aioresponses,
5 buildPythonPackage,
6 fetchFromGitHub,
7 lib,
8 lxml,
9 poetry-core,
10 pytest-asyncio,
11 pytest-cov-stub,
12 pytestCheckHook,
13 python-dateutil,
14 yarl,
15}:
16
17buildPythonPackage rec {
18 pname = "aiowebdav2";
19 version = "0.5.0";
20 pyproject = true;
21
22 src = fetchFromGitHub {
23 owner = "jpbede";
24 repo = "aiowebdav2";
25 tag = "v${version}";
26 hash = "sha256-u4Iar5vmWttG42CrDpDS8SdxYGnpZT0NAmm9rXQI1sc=";
27 };
28
29 build-system = [ poetry-core ];
30
31 dependencies = [
32 aiofiles
33 aiohttp
34 lxml
35 python-dateutil
36 yarl
37 ];
38
39 pythonImportsCheck = [ "aiowebdav2" ];
40
41 nativeCheckInputs = [
42 aioresponses
43 pytest-asyncio
44 pytest-cov-stub
45 pytestCheckHook
46 ];
47
48 meta = {
49 changelog = "https://github.com/jpbede/aiowebdav2/releases/tag/${src.tag}";
50 description = "Async Python 3 client for WebDAV";
51 homepage = "https://github.com/jpbede/aiowebdav2";
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [ dotlambda ];
54 };
55}