devpi-client: refactor

- use a new parameter for pyproject
- add pythonImportsCheck
This commit is contained in:
natsukium 2023-10-13 23:17:06 +09:00
parent 607a747bef
commit ebe58214bc
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -9,8 +9,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "devpi-client";
version = "6.0.3";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -22,6 +21,10 @@ python3.pkgs.buildPythonApplication rec {
--replace "--flake8" ""
'';
nativeBuildInputs = [
python3.pkgs.setuptools
];
buildInputs = [
glibcLocales
];
@ -67,6 +70,10 @@ python3.pkgs.buildPythonApplication rec {
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"devpi"
];
meta = with lib; {
description = "Client for devpi, a pypi index server and packaging meta tool";
homepage = "http://doc.devpi.net";