at 24.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 cheroot, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8 defusedxml, 9 jinja2, 10 json5, 11 python-pam, 12 pyyaml, 13 requests, 14 setuptools, 15 webtest, 16}: 17 18buildPythonPackage rec { 19 pname = "wsgidav"; 20 version = "4.3.3"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.7"; 24 25 src = fetchFromGitHub { 26 owner = "mar10"; 27 repo = "wsgidav"; 28 rev = "refs/tags/v${version}"; 29 hash = "sha256-vUqNC7ixpta0s7wRC5ROSKMa/MsgEBu5rr0XNu69FRw="; 30 }; 31 32 __darwinAllowLocalNetworking = true; 33 34 build-system = [ setuptools ]; 35 36 dependencies = [ 37 defusedxml 38 jinja2 39 json5 40 python-pam 41 pyyaml 42 ]; 43 44 nativeCheckInputs = [ 45 cheroot 46 pytestCheckHook 47 requests 48 webtest 49 ]; 50 51 pythonImportsCheck = [ "wsgidav" ]; 52 53 meta = with lib; { 54 description = "Generic and extendable WebDAV server based on WSGI"; 55 homepage = "https://wsgidav.readthedocs.io/"; 56 changelog = "https://github.com/mar10/wsgidav/blob/v${version}/CHANGELOG.md"; 57 license = with licenses; [ mit ]; 58 maintainers = with maintainers; [ fab ]; 59 mainProgram = "wsgidav"; 60 }; 61}