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