2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
# buildInputs
|
|
|
|
, glibcLocales
|
|
|
|
, pkginfo
|
|
|
|
, check-manifest
|
|
|
|
# propagatedBuildInputs
|
|
|
|
, py
|
|
|
|
, devpi-common
|
|
|
|
, pluggy
|
|
|
|
, setuptools
|
|
|
|
# CheckInputs
|
|
|
|
, pytest
|
|
|
|
, pytest-flake8
|
|
|
|
, webtest
|
|
|
|
, mock
|
|
|
|
, devpi-server
|
|
|
|
, tox
|
|
|
|
, sphinx
|
|
|
|
, wheel
|
|
|
|
, git
|
|
|
|
, mercurial
|
2020-06-18 07:06:33 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "devpi-client";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "5.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "24ac6d94108996efad4ff5185dabb1e5120ae238134b8175d6de2ca9e766cd92";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ glibcLocales ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
propagatedBuildInputs = [ py devpi-common pluggy setuptools check-manifest pkginfo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest pytest-flake8 webtest mock
|
|
|
|
devpi-server tox
|
|
|
|
sphinx wheel git mercurial
|
|
|
|
];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
# --fast skips tests which try to start a devpi-server improperly
|
2020-04-24 23:36:52 +00:00
|
|
|
checkPhase = ''
|
2020-06-18 07:06:33 +00:00
|
|
|
HOME=$TMPDIR py.test --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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|