devpi-client: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-10 20:51:58 +02:00
parent a3f309b6b4
commit 4d45bf20f6

View File

@ -1,9 +1,10 @@
{ lib
, devpi-server
, git
, glibcLocales
, python3
, fetchPypi
{
lib,
devpi-server,
git,
glibcLocales,
python3,
fetchPypi,
}:
python3.pkgs.buildPythonApplication rec {
@ -22,9 +23,7 @@ python3.pkgs.buildPythonApplication rec {
setuptools-changelog-shortener
];
buildInputs = [
glibcLocales
];
buildInputs = [ glibcLocales ];
dependencies = with python3.pkgs; [
build
@ -36,19 +35,21 @@ python3.pkgs.buildPythonApplication rec {
platformdirs
];
nativeCheckInputs = [
devpi-server
git
] ++ (with python3.pkgs; [
mercurial
mock
pypitoken
pytestCheckHook
sphinx
virtualenv
webtest
wheel
]);
nativeCheckInputs =
[
devpi-server
git
]
++ (with python3.pkgs; [
mercurial
mock
pypitoken
pytestCheckHook
sphinx
virtualenv
webtest
wheel
]);
preCheck = ''
export HOME=$(mktemp -d);
@ -63,16 +64,17 @@ python3.pkgs.buildPythonApplication rec {
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"devpi"
];
pythonImportsCheck = [ "devpi" ];
meta = with lib; {
description = "Client for devpi, a pypi index server and packaging meta tool";
homepage = "http://doc.devpi.net";
changelog = "https://github.com/devpi/devpi/blob/client-${version}/client/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ lewo makefu ];
maintainers = with maintainers; [
lewo
makefu
];
mainProgram = "devpi";
};
}