Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-services / default.nix
blob41890215025ca56b6829fd37f6903d0ec6d802ee
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy3k
5 , requests
6 , psutil
7 , pytest
8 , setuptools-scm
9 , toml
10 , zc_lockfile
13 buildPythonPackage rec {
14   pname = "pytest-services";
15   version = "2.2.1";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536";
20   };
22   nativeBuildInputs = [
23     setuptools-scm
24     toml
25   ];
27   buildInputs = [ pytest ];
29   propagatedBuildInputs = [
30     requests
31     psutil
32     zc_lockfile
33   ];
35   # no tests in PyPI tarball
36   doCheck = false;
38   pythonImportsCheck = [ "pytest_services" ];
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   };