python310Packages.wsgidav: init at 4.0.2
This commit is contained in:
parent
4e4d7372b3
commit
589a32ec70
55
pkgs/development/python-modules/wsgidav/default.nix
Normal file
55
pkgs/development/python-modules/wsgidav/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cheroot
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, defusedxml
|
||||
, jinja2
|
||||
, json5
|
||||
, python-pam
|
||||
, pyyaml
|
||||
, requests
|
||||
, webtest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wsgidav";
|
||||
version = "4.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mar10";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LQdS9d2DB4PXqRSzmtZCSyCQI47ncLCG+RSB+goZYoA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
defusedxml
|
||||
jinja2
|
||||
json5
|
||||
python-pam
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
cheroot
|
||||
pytestCheckHook
|
||||
requests
|
||||
webtest
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"wsgidav"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generic and extendable WebDAV server based on WSGI";
|
||||
homepage = "https://wsgidav.readthedocs.io/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -11530,6 +11530,8 @@ in {
|
||||
|
||||
wsgi-intercept = callPackage ../development/python-modules/wsgi-intercept { };
|
||||
|
||||
wsgidav = callPackage ../development/python-modules/wsgidav { };
|
||||
|
||||
wsgiprox = callPackage ../development/python-modules/wsgiprox { };
|
||||
|
||||
wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };
|
||||
|
Loading…
Reference in New Issue
Block a user