2017-12-04 15:35:55 +01:00
|
|
|
{ stdenv
|
|
|
|
, pythonPackages
|
|
|
|
, glibcLocales
|
|
|
|
, devpi-server
|
|
|
|
} :
|
2015-12-15 21:46:01 +01:00
|
|
|
|
2016-02-19 13:12:11 +01:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2017-10-04 14:40:20 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "devpi-client";
|
2017-12-04 15:35:55 +01:00
|
|
|
version = "3.1.0";
|
2015-12-15 21:46:01 +01:00
|
|
|
|
2017-10-04 14:40:20 +02:00
|
|
|
src = pythonPackages.fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-04 15:35:55 +01:00
|
|
|
sha256 = "0w47x3lkafcg9ijlaxllmq4886nsc91w49ck1cd7vn2gafkwjkgr";
|
2015-12-15 21:46:01 +01:00
|
|
|
};
|
2017-12-04 15:35:55 +01:00
|
|
|
|
2017-10-04 14:40:20 +02:00
|
|
|
doCheck = true;
|
2017-12-04 15:35:55 +01:00
|
|
|
checkInputs = with pythonPackages; [ pytest webtest mock devpi-server ];
|
2017-10-04 14:40:20 +02:00
|
|
|
checkPhase = "py.test";
|
2016-04-14 14:06:32 +02:00
|
|
|
|
2016-10-17 16:24:15 +02:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2017-10-04 14:40:20 +02:00
|
|
|
buildInputs = with pythonPackages; [ glibcLocales pkginfo tox check-manifest ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ py devpi-common pluggy ];
|
2016-04-14 14:06:32 +02:00
|
|
|
|
2015-12-15 21:46:01 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://doc.devpi.net;
|
|
|
|
description = "Github-style pypi index server and packaging meta tool";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2016-04-14 14:06:32 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ lewo makefu ];
|
2015-12-15 21:46:01 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|