2017-10-05 10:30:45 +00:00
|
|
|
{ stdenv, pythonPackages }:
|
2017-10-04 12:38:44 +00:00
|
|
|
|
|
|
|
with pythonPackages;buildPythonPackage rec {
|
|
|
|
pname = "devpi-common";
|
2017-12-04 14:09:50 +00:00
|
|
|
version = "3.2.0";
|
2017-10-04 12:38:44 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-04 14:09:50 +00:00
|
|
|
sha256 = "0rh119iw5hk41gsvbjr0wixvl1i4f0b1vcnw9ym35rmcp517z0wb";
|
2017-10-04 12:38:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests py ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2017-10-05 10:30:45 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-10-04 12:38:44 +00:00
|
|
|
homepage = https://github.com/devpi/devpi;
|
|
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|