python.pkgs.python-services: init at 1.3.1

This commit is contained in:
Robert Schütz 2019-02-13 17:48:53 +01:00 committed by Frederik Rietdijk
parent ec552248f9
commit 742fa0d741
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, requests
, psutil
, pytest
, subprocess32
}:
buildPythonPackage rec {
pname = "pytest-services";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "035bc9ce8addb33f7c2ec95a9c0c88926d213a6c2e12b2c57da31a4ec0765f2c";
};
propagatedBuildInputs = [
requests
psutil
pytest
] ++ lib.optional (!isPy3k) subprocess32;
# no tests in PyPI tarball
doCheck = false;
meta = with lib; {
description = "Services plugin for pytest testing framework";
homepage = https://github.com/pytest-dev/pytest-services;
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -1566,6 +1566,8 @@ in {
pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { };
pytest-services = callPackage ../development/python-modules/pytest-services { };
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
pytestcov = callPackage ../development/python-modules/pytest-cov { };