summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-server-fixtures/default.nix
blob: fd50fd2864e95c684c68d8d3eaadde757b843425 (plain)
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,
  future,
  psutil,
  pytest,
  pytest-shutil,
  pytest-fixture-config,
  requests,
  retry,
  six,
  setuptools,
}:

buildPythonPackage {
  pname = "pytest-server-fixtures";
  inherit (pytest-fixture-config) version src patches;
  pyproject = true;

  postPatch = ''
    cd pytest-server-fixtures
  '';

  build-system = [ setuptools ];

  buildInputs = [ pytest ];

  dependencies = [
    future
    psutil
    pytest-shutil
    pytest-fixture-config
    requests
    retry
    six
  ];

  # Don't run integration tests
  doCheck = false;

  meta = {
    description = "Extensible server fixures for py.test";
    homepage = "https://github.com/manahl/pytest-plugins";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}