2019-10-07 19:37:17 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, requests
|
|
|
|
, py
|
|
|
|
, pytest
|
|
|
|
, pytest-flake8
|
2020-06-11 09:49:12 +00:00
|
|
|
, lazy
|
2019-10-07 19:37:17 +00:00
|
|
|
}:
|
2017-10-04 12:38:44 +00:00
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
buildPythonPackage rec {
|
2017-10-04 12:38:44 +00:00
|
|
|
pname = "devpi-common";
|
2020-11-20 02:52:10 +00:00
|
|
|
version = "3.6.0";
|
2017-10-04 12:38:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-20 02:52:10 +00:00
|
|
|
sha256 = "fc14aa6b74d4d9e27dc2e9cbff000ed9be5cd723d3ac9672e66e4e8fce797227";
|
2017-10-04 12:38:44 +00:00
|
|
|
};
|
|
|
|
|
2020-06-11 09:49:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
py
|
|
|
|
lazy
|
|
|
|
];
|
2019-10-07 19:37:17 +00:00
|
|
|
checkInputs = [ pytest pytest-flake8 ];
|
2017-10-04 12:38:44 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/devpi/devpi";
|
2017-10-04 12:38:44 +00:00
|
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|