blob: c98370ed9389f4b2c81c012c225d6e05adf6b1a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ buildPythonPackage
, lib
, fetchPypi
, requests
, pytest
, six
, werkzeug
}:
buildPythonPackage rec {
pname = "pytest-localserver";
name = "${pname}-${version}";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "a72af60a1ec8f73668a7884c86baf1fbe48394573cb4fa36709887217736c021";
};
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;
};
}
|