3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/devpi-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

80 lines
1.2 KiB
Nix
Raw Normal View History

{ 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
2020-06-03 07:59:29 +01:00
}:
2015-12-15 20:46:01 +00:00
buildPythonApplication rec {
2017-10-04 13:40:20 +01:00
pname = "devpi-client";
version = "5.2.3";
2015-12-15 20:46:01 +00:00
src = fetchPypi {
2017-10-04 13:40:20 +01:00
inherit pname version;
hash = "sha256-Ni6ybpUTankkkYYcwnKNFKYwmp1MTxOnucPm/TneWOw=";
2015-12-15 20:46:01 +00:00
};
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);
2017-12-05 10:30:07 +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";
__darwinAllowLocalNetworking = true;
meta = with lib; {
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
};
}