devpi-server: refactor

- add meta.changelog
- use a new parameter for pyproject
- add pythonImportsCheck
This commit is contained in:
natsukium
2023-10-13 23:00:02 +09:00
parent 71fd1bd739
commit 356189a690
@@ -25,7 +25,7 @@
buildPythonApplication rec {
pname = "devpi-server";
version = "6.7.0";
format = "setuptools";
pyproject = true;
disabled = isPy27;
@@ -43,6 +43,10 @@ buildPythonApplication rec {
--replace "--flake8" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
appdirs
@@ -91,9 +95,14 @@ buildPythonApplication rec {
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"devpi_server"
];
meta = with lib;{
homepage = "http://doc.devpi.net";
description = "Github-style pypi index server and packaging meta tool";
changelog = "https://github.com/devpi/devpi/blob/${src.rev}/server/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};