mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
80 lines
1.2 KiB
Nix
80 lines
1.2 KiB
Nix
{ lib
|
|
, argon2-cffi-bindings
|
|
, buildPythonApplication
|
|
, check-manifest
|
|
, devpi-common
|
|
, devpi-server
|
|
, fetchPypi
|
|
, git
|
|
, glibcLocales
|
|
, mercurial
|
|
, mock
|
|
, pkginfo
|
|
, pluggy
|
|
, py
|
|
, pytestCheckHook
|
|
, pytest-flake8
|
|
, setuptools
|
|
, sphinx
|
|
, tox
|
|
, webtest
|
|
, wheel
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "devpi-client";
|
|
version = "5.2.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Ni6ybpUTankkkYYcwnKNFKYwmp1MTxOnucPm/TneWOw=";
|
|
};
|
|
|
|
buildInputs = [
|
|
glibcLocales
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
argon2-cffi-bindings
|
|
check-manifest
|
|
devpi-common
|
|
pkginfo
|
|
pluggy
|
|
py
|
|
setuptools
|
|
];
|
|
|
|
checkInputs = [
|
|
devpi-server
|
|
git
|
|
mercurial
|
|
mock
|
|
pytestCheckHook
|
|
pytest-flake8
|
|
sphinx
|
|
tox
|
|
webtest
|
|
wheel
|
|
];
|
|
|
|
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;
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|