2019-10-07 20:37:17 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, requests
|
|
|
|
, py
|
|
|
|
, pytest
|
|
|
|
, pytest-flake8
|
|
|
|
}:
|
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-10-07 20:37:17 +01:00
|
|
|
version = "3.4.0";
|
2017-10-04 13:38:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-07 20:37:17 +01:00
|
|
|
sha256 = "1pfl29pnfn120rqv3zwxc22i1hyywwg60rcck9hzxsllbhmfbjqh";
|
2017-10-04 13:38:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests py ];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|