1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, requests
6, psutil
7, pytest
8, setuptools-scm
9, toml
10, zc_lockfile
11}:
12
13buildPythonPackage rec {
14 pname = "pytest-services";
15 version = "2.2.1";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536";
20 };
21
22 nativeBuildInputs = [
23 setuptools-scm
24 toml
25 ];
26
27 buildInputs = [ pytest ];
28
29 propagatedBuildInputs = [
30 requests
31 psutil
32 zc_lockfile
33 ];
34
35 # no tests in PyPI tarball
36 doCheck = false;
37
38 pythonImportsCheck = [ "pytest_services" ];
39
40 meta = with lib; {
41 description = "Services plugin for pytest testing framework";
42 homepage = "https://github.com/pytest-dev/pytest-services";
43 license = licenses.mit;
44 maintainers = with maintainers; [ dotlambda ];
45 };
46}