2019-02-13 16:48:53 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, requests
|
|
|
|
, psutil
|
|
|
|
, pytest
|
|
|
|
, subprocess32
|
2019-12-21 22:34:15 +00:00
|
|
|
, zc_lockfile
|
2019-02-13 16:48:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-services";
|
2019-12-19 19:31:20 +00:00
|
|
|
version = "2.0.1";
|
2019-02-13 16:48:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:20 +00:00
|
|
|
sha256 = "0848cead86d3816b9c4e37cecfda31d21a4366f0dca2313ea29f3ca375c6295d";
|
2019-02-13 16:48:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
psutil
|
|
|
|
pytest
|
2019-12-21 22:34:15 +00:00
|
|
|
zc_lockfile
|
2019-02-13 16:48:53 +00:00
|
|
|
] ++ lib.optional (!isPy3k) subprocess32;
|
|
|
|
|
|
|
|
# no tests in PyPI tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Services plugin for pytest testing framework";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pytest-dev/pytest-services";
|
2019-02-13 16:48:53 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|