18 buildPythonPackage rec {
19 pname = "pytest-services";
23 disabled = pythonOlder "3.7";
25 src = fetchFromGitHub {
27 repo = "pytest-services";
28 rev = "refs/tags/${version}";
29 hash = "sha256-E/VcKcAb1ekypm5jP4lsSz1LYJTcTSed6i5OY5ihP30=";
33 # Replace distutils.spawn.find_executable with shutil.which, https://github.com/pytest-dev/pytest-services/pull/46
35 name = "replace-distutils.patch";
36 url = "https://github.com/pytest-dev/pytest-services/commit/e0e2a85434a2dcbcc0584299c5b2b751efe0b6db.patch";
37 hash = "sha256-hvr7EedfjfonHDn6v2slwUBqz1xQoF7Ez/kqAhZRXEc=";
46 buildInputs = [ pytest ];
48 propagatedBuildInputs = [
60 pythonImportsCheck = [ "pytest_services" ];
63 # Tests require binaries and additional parts
70 description = "Services plugin for pytest testing framework";
71 homepage = "https://github.com/pytest-dev/pytest-services";
72 changelog = "https://github.com/pytest-dev/pytest-services/blob/${version}/CHANGES.rst";
73 license = licenses.mit;
74 maintainers = with maintainers; [ dotlambda ];