python312Packages.wsgidav: refactor

This commit is contained in:
Fabian Affolter 2024-03-25 13:36:13 +01:00
parent b392a0c041
commit 408853845d

View File

@ -17,22 +17,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "wsgidav"; pname = "wsgidav";
version = "4.3.1"; version = "4.3.1";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mar10"; owner = "mar10";
repo = pname; repo = "wsgidav";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-jgn4bculVIXfMx3Or3pKF478UOzCL8nhEeNvOeGyjPI="; hash = "sha256-jgn4bculVIXfMx3Or3pKF478UOzCL8nhEeNvOeGyjPI=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
defusedxml defusedxml
jinja2 jinja2
json5 json5
@ -55,10 +55,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Generic and extendable WebDAV server based on WSGI"; description = "Generic and extendable WebDAV server based on WSGI";
mainProgram = "wsgidav";
homepage = "https://wsgidav.readthedocs.io/"; homepage = "https://wsgidav.readthedocs.io/";
changelog = "https://github.com/mar10/wsgidav/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/mar10/wsgidav/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "wsgidav";
}; };
} }