2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2022-03-05 16:20:37 +00:00
|
|
|
, argon2-cffi-bindings
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonApplication
|
2022-03-05 16:20:37 +00:00
|
|
|
, check-manifest
|
|
|
|
, devpi-common
|
|
|
|
, devpi-server
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
2022-03-05 16:20:37 +00:00
|
|
|
, git
|
2020-04-24 23:36:52 +00:00
|
|
|
, glibcLocales
|
2022-03-05 16:20:37 +00:00
|
|
|
, mercurial
|
|
|
|
, mock
|
2020-04-24 23:36:52 +00:00
|
|
|
, pkginfo
|
|
|
|
, pluggy
|
2022-03-05 16:20:37 +00:00
|
|
|
, py
|
|
|
|
, pytestCheckHook
|
|
|
|
, setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
, sphinx
|
2022-03-05 16:20:37 +00:00
|
|
|
, tox
|
|
|
|
, webtest
|
2020-04-24 23:36:52 +00:00
|
|
|
, wheel
|
2020-06-18 07:06:33 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "devpi-client";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "5.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-05 16:20:37 +00:00
|
|
|
hash = "sha256-Ni6ybpUTankkkYYcwnKNFKYwmp1MTxOnucPm/TneWOw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace tox.ini \
|
|
|
|
--replace "--flake8" ""
|
|
|
|
'';
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
buildInputs = [
|
|
|
|
glibcLocales
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
argon2-cffi-bindings
|
|
|
|
check-manifest
|
|
|
|
devpi-common
|
|
|
|
pkginfo
|
|
|
|
pluggy
|
|
|
|
py
|
|
|
|
setuptools
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-03-05 16:20:37 +00:00
|
|
|
devpi-server
|
|
|
|
git
|
|
|
|
mercurial
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
sphinx
|
|
|
|
tox
|
|
|
|
webtest
|
|
|
|
wheel
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d);
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
pytestFlagsArray = [
|
|
|
|
# --fast skips tests which try to start a devpi-server improperly
|
|
|
|
"--fast"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://doc.devpi.net";
|
|
|
|
description = "Client for devpi, a pypi index server and packaging meta tool";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|