|
|
|
@ -1,26 +1,24 @@ |
|
|
|
|
{ lib |
|
|
|
|
, argon2-cffi-bindings |
|
|
|
|
, buildPythonApplication |
|
|
|
|
, check-manifest |
|
|
|
|
, devpi-common |
|
|
|
|
, devpi-server |
|
|
|
|
, fetchPypi |
|
|
|
|
# buildInputs |
|
|
|
|
, git |
|
|
|
|
, glibcLocales |
|
|
|
|
, mercurial |
|
|
|
|
, mock |
|
|
|
|
, pkginfo |
|
|
|
|
, check-manifest |
|
|
|
|
# propagatedBuildInputs |
|
|
|
|
, py |
|
|
|
|
, devpi-common |
|
|
|
|
, pluggy |
|
|
|
|
, setuptools |
|
|
|
|
# CheckInputs |
|
|
|
|
, pytest |
|
|
|
|
, py |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, pytest-flake8 |
|
|
|
|
, webtest |
|
|
|
|
, mock |
|
|
|
|
, devpi-server |
|
|
|
|
, tox |
|
|
|
|
, setuptools |
|
|
|
|
, sphinx |
|
|
|
|
, tox |
|
|
|
|
, webtest |
|
|
|
|
, wheel |
|
|
|
|
, git |
|
|
|
|
, mercurial |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonApplication rec { |
|
|
|
@ -29,24 +27,45 @@ buildPythonApplication rec { |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "362eb26e95136a792491861cc2728d14a6309a9d4c4f13a7b9c3e6fd39de58ec"; |
|
|
|
|
hash = "sha256-Ni6ybpUTankkkYYcwnKNFKYwmp1MTxOnucPm/TneWOw="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ]; |
|
|
|
|
buildInputs = [ |
|
|
|
|
glibcLocales |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ py devpi-common pluggy setuptools check-manifest pkginfo ]; |
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
argon2-cffi-bindings |
|
|
|
|
check-manifest |
|
|
|
|
devpi-common |
|
|
|
|
pkginfo |
|
|
|
|
pluggy |
|
|
|
|
py |
|
|
|
|
setuptools |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
checkInputs = [ |
|
|
|
|
pytest pytest-flake8 webtest mock |
|
|
|
|
devpi-server tox |
|
|
|
|
sphinx wheel git mercurial |
|
|
|
|
devpi-server |
|
|
|
|
git |
|
|
|
|
mercurial |
|
|
|
|
mock |
|
|
|
|
pytestCheckHook |
|
|
|
|
pytest-flake8 |
|
|
|
|
sphinx |
|
|
|
|
tox |
|
|
|
|
webtest |
|
|
|
|
wheel |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# --fast skips tests which try to start a devpi-server improperly |
|
|
|
|
checkPhase = '' |
|
|
|
|
HOME=$TMPDIR py.test --fast |
|
|
|
|
preCheck = '' |
|
|
|
|
export HOME=$(mktemp -d); |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
pytestFlagsArray = [ |
|
|
|
|
# --fast skips tests which try to start a devpi-server improperly |
|
|
|
|
"--fast" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8"; |
|
|
|
|
|
|
|
|
|
__darwinAllowLocalNetworking = true; |
|
|
|
@ -57,5 +76,4 @@ buildPythonApplication rec { |
|
|
|
|
license = licenses.mit; |
|
|
|
|
maintainers = with maintainers; [ lewo makefu ]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|