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