2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2022-03-03 12:16:27 +00:00
|
|
|
, argon2-cffi-bindings
|
2019-10-08 07:26:31 +01:00
|
|
|
, buildPythonApplication
|
2022-03-03 12:16:27 +00:00
|
|
|
, check-manifest
|
|
|
|
, devpi-common
|
|
|
|
, devpi-server
|
2019-10-08 07:26:31 +01:00
|
|
|
, fetchPypi
|
2022-03-03 12:16:27 +00:00
|
|
|
, git
|
2017-12-04 14:35:55 +00:00
|
|
|
, glibcLocales
|
2022-03-03 12:16:27 +00:00
|
|
|
, mercurial
|
|
|
|
, mock
|
2019-10-08 07:26:31 +01:00
|
|
|
, pkginfo
|
|
|
|
, pluggy
|
2022-03-03 12:16:27 +00:00
|
|
|
, py
|
|
|
|
, pytestCheckHook
|
2019-10-08 07:26:31 +01:00
|
|
|
, pytest-flake8
|
2022-03-03 12:16:27 +00:00
|
|
|
, setuptools
|
2019-10-08 07:26:31 +01:00
|
|
|
, sphinx
|
2022-03-03 12:16:27 +00:00
|
|
|
, tox
|
|
|
|
, webtest
|
2019-10-08 07:26:31 +01:00
|
|
|
, wheel
|
2020-06-03 07:59:29 +01:00
|
|
|
}:
|
2015-12-15 20:46:01 +00:00
|
|
|
|
2019-10-08 07:26:31 +01:00
|
|
|
buildPythonApplication rec {
|
2017-10-04 13:40:20 +01:00
|
|
|
pname = "devpi-client";
|
2021-11-23 19:10:42 +00:00
|
|
|
version = "5.2.3";
|
2015-12-15 20:46:01 +00:00
|
|
|
|
2019-10-08 07:26:31 +01:00
|
|
|
src = fetchPypi {
|
2017-10-04 13:40:20 +01:00
|
|
|
inherit pname version;
|
2022-03-03 12:16:27 +00:00
|
|
|
hash = "sha256-Ni6ybpUTankkkYYcwnKNFKYwmp1MTxOnucPm/TneWOw=";
|
2015-12-15 20:46:01 +00:00
|
|
|
};
|
2017-12-04 14:35:55 +00:00
|
|
|
|
2022-03-03 12:16:27 +00:00
|
|
|
buildInputs = [
|
|
|
|
glibcLocales
|
|
|
|
];
|
2019-10-08 07:26:31 +01:00
|
|
|
|
2022-03-03 12:16:27 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
argon2-cffi-bindings
|
|
|
|
check-manifest
|
|
|
|
devpi-common
|
|
|
|
pkginfo
|
|
|
|
pluggy
|
|
|
|
py
|
|
|
|
setuptools
|
|
|
|
];
|
2019-10-08 07:26:31 +01:00
|
|
|
|
|
|
|
checkInputs = [
|
2022-03-03 12:16:27 +00:00
|
|
|
devpi-server
|
|
|
|
git
|
|
|
|
mercurial
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-flake8
|
|
|
|
sphinx
|
|
|
|
tox
|
|
|
|
webtest
|
|
|
|
wheel
|
2019-10-08 07:26:31 +01:00
|
|
|
];
|
|
|
|
|
2022-03-03 12:16:27 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d);
|
2017-12-05 10:30:07 +00:00
|
|
|
'';
|
2016-04-14 13:06:32 +01:00
|
|
|
|
2022-03-03 12:16:27 +00:00
|
|
|
pytestFlagsArray = [
|
|
|
|
# --fast skips tests which try to start a devpi-server improperly
|
|
|
|
"--fast"
|
|
|
|
];
|
|
|
|
|
2016-10-17 15:24:15 +01:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2016-04-14 13:06:32 +01:00
|
|
|
|
2021-05-25 22:01:36 +01:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://doc.devpi.net";
|
2017-12-05 10:30:07 +00:00
|
|
|
description = "Client for devpi, a pypi index server and packaging meta tool";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
2015-12-15 20:46:01 +00:00
|
|
|
};
|
|
|
|
}
|