about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-services/default.nix
blob: 91094c81ab41176bf8596ea61ec641ad6a172aee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, requests
, psutil
, pytest
, setuptools-scm
, toml
, zc-lockfile
}:

buildPythonPackage rec {
  pname = "pytest-services";
  version = "2.2.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536";
  };

  nativeBuildInputs = [
    setuptools-scm
    toml
  ];

  buildInputs = [ pytest ];

  propagatedBuildInputs = [
    requests
    psutil
    zc-lockfile
  ];

  # no tests in PyPI tarball
  doCheck = false;

  pythonImportsCheck = [ "pytest_services" ];

  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 ];
  };
}