2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-10-08 06:26:31 +00:00
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
# buildInputs
|
2017-12-04 14:35:55 +00:00
|
|
|
, glibcLocales
|
2019-10-08 06:26:31 +00:00
|
|
|
, pkginfo
|
|
|
|
, check-manifest
|
|
|
|
# propagatedBuildInputs
|
|
|
|
, py
|
|
|
|
, devpi-common
|
|
|
|
, pluggy
|
|
|
|
, setuptools
|
|
|
|
# CheckInputs
|
|
|
|
, pytest
|
|
|
|
, pytest-flake8
|
|
|
|
, webtest
|
|
|
|
, mock
|
2017-12-04 14:35:55 +00:00
|
|
|
, devpi-server
|
2019-10-08 06:26:31 +00:00
|
|
|
, tox
|
|
|
|
, sphinx
|
|
|
|
, wheel
|
2017-12-05 10:30:07 +00:00
|
|
|
, git
|
|
|
|
, mercurial
|
2020-06-03 06:59:29 +00:00
|
|
|
}:
|
2015-12-15 20:46:01 +00:00
|
|
|
|
2019-10-08 06:26:31 +00:00
|
|
|
buildPythonApplication rec {
|
2017-10-04 12:40:20 +00:00
|
|
|
pname = "devpi-client";
|
2021-09-11 15:08:24 +00:00
|
|
|
version = "5.2.2";
|
2015-12-15 20:46:01 +00:00
|
|
|
|
2019-10-08 06:26:31 +00:00
|
|
|
src = fetchPypi {
|
2017-10-04 12:40:20 +00:00
|
|
|
inherit pname version;
|
2021-09-11 15:08:24 +00:00
|
|
|
sha256 = "24ac6d94108996efad4ff5185dabb1e5120ae238134b8175d6de2ca9e766cd92";
|
2015-12-15 20:46:01 +00:00
|
|
|
};
|
2017-12-04 14:35:55 +00:00
|
|
|
|
2021-04-01 14:07:24 +00:00
|
|
|
buildInputs = [ glibcLocales ];
|
2019-10-08 06:26:31 +00:00
|
|
|
|
2021-04-01 14:07:24 +00:00
|
|
|
propagatedBuildInputs = [ py devpi-common pluggy setuptools check-manifest pkginfo ];
|
2019-10-08 06:26:31 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest pytest-flake8 webtest mock
|
|
|
|
devpi-server tox
|
|
|
|
sphinx wheel git mercurial
|
|
|
|
];
|
|
|
|
|
2020-06-03 06:59:29 +00:00
|
|
|
# --fast skips tests which try to start a devpi-server improperly
|
2017-12-05 10:30:07 +00:00
|
|
|
checkPhase = ''
|
2020-06-03 06:59:29 +00:00
|
|
|
HOME=$TMPDIR py.test --fast
|
2017-12-05 10:30:07 +00:00
|
|
|
'';
|
2016-04-14 12:06:32 +00:00
|
|
|
|
2016-10-17 14:24:15 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2016-04-14 12:06:32 +00:00
|
|
|
|
2021-05-25 21:01:36 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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
|
|
|
};
|
2017-12-05 10:30:07 +00:00
|
|
|
|
2015-12-15 20:46:01 +00:00
|
|
|
}
|