1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, requests
6, psutil
7, pytest
8, subprocess32
9, zc_lockfile
10}:
11
12buildPythonPackage rec {
13 pname = "pytest-services";
14 version = "2.0.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "0848cead86d3816b9c4e37cecfda31d21a4366f0dca2313ea29f3ca375c6295d";
19 };
20
21 propagatedBuildInputs = [
22 requests
23 psutil
24 pytest
25 zc_lockfile
26 ] ++ lib.optional (!isPy3k) subprocess32;
27
28 # no tests in PyPI tarball
29 doCheck = false;
30
31 meta = with lib; {
32 description = "Services plugin for pytest testing framework";
33 homepage = https://github.com/pytest-dev/pytest-services;
34 license = licenses.mit;
35 maintainers = with maintainers; [ dotlambda ];
36 };
37}