2019-04-03 13:59:33 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, py, pytest, pytest-flakes }:
|
2017-10-04 13:38:44 +01:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
buildPythonPackage rec {
|
2017-10-04 13:38:44 +01:00
|
|
|
pname = "devpi-common";
|
2019-04-16 18:15:35 +01:00
|
|
|
version = "3.3.2";
|
2017-10-04 13:38:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:35 +01:00
|
|
|
sha256 = "2c7a6471c0f5b07ac9257adec3b3c3a89193ee672fdeb0a6f29487dc9d675e0c";
|
2017-10-04 13:38:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests py ];
|
2019-04-03 13:59:33 +01:00
|
|
|
checkInputs = [ pytest pytest-flakes ];
|
2017-10-04 13:38:44 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
meta = with lib; {
|
2017-10-04 13:38:44 +01:00
|
|
|
homepage = https://github.com/devpi/devpi;
|
|
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|