pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7 (#26238)

* pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7

* pythonPackages.pytest-localserver: Change to use python packaging tools

* pythonPackages.pytest-localserver: Move to own file
This commit is contained in:
Matthias Beyer
2017-05-30 17:47:00 +02:00
committed by Frederik Rietdijk
parent 46bcd05185
commit 3c83ce3014
2 changed files with 34 additions and 22 deletions

View File

@@ -0,0 +1,33 @@
{ buildPythonPackage
, lib
, fetchPypi
, requests
, pytest
, six
, werkzeug
}:
buildPythonPackage rec {
pname = "pytest-localserver";
name = "${pname}-${version}";
version = "0.3.7";
src = fetchPypi {
inherit pname version;
sha256 = "1c11hn61n06ms0wmw6536vs5k4k9hlndxsb3p170nva56a9dfa6q";
};
propagatedBuildInputs = [ werkzeug ];
buildInputs = [ pytest six requests ];
checkPhase = ''
py.test
'';
meta = {
description = "Plugin for the pytest testing framework to test server connections locally";
homepage = https://pypi.python.org/pypi/pytest-localserver;
license = lib.licenses.mit;
};
}