evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / wsgidav / default.nix
blobc05415323093127a4a6ecac3bcdc127f8c578df0
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,
18 buildPythonPackage rec {
19   pname = "wsgidav";
20   version = "4.3.3";
21   pyproject = true;
23   disabled = pythonOlder "3.7";
25   src = fetchFromGitHub {
26     owner = "mar10";
27     repo = "wsgidav";
28     rev = "refs/tags/v${version}";
29     hash = "sha256-vUqNC7ixpta0s7wRC5ROSKMa/MsgEBu5rr0XNu69FRw=";
30   };
32   __darwinAllowLocalNetworking = true;
34   build-system = [ setuptools ];
36   dependencies = [
37     defusedxml
38     jinja2
39     json5
40     python-pam
41     pyyaml
42   ];
44   nativeCheckInputs = [
45     cheroot
46     pytestCheckHook
47     requests
48     webtest
49   ];
51   pythonImportsCheck = [ "wsgidav" ];
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   };