2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, requests
|
|
|
|
, py
|
|
|
|
, pytest
|
|
|
|
, pytest-flake8
|
2020-06-15 15:56:04 +00:00
|
|
|
, lazy
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "devpi-common";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "3.5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "4f1eb1bf85a5dabd4f4ecc11ad99588e01cc204989a9f424c2dbe5809c6c3745";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
py
|
|
|
|
lazy
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [ pytest pytest-flake8 ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/devpi/devpi";
|
|
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|