about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-forked/default.nix
blob: b3ea60174a65f2d9c14abeca7a454588ed90954c (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
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
}:

buildPythonPackage rec {
  pname = "pytest-forked";
  version = "1.0.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "d352aaced2ebd54d42a65825722cb433004b4446ab5d2044851d9cc7a00c9e38";
  };

  buildInputs = [ pytest setuptools_scm ];

  # Do not function
  doCheck = false;

  checkPhase = ''
    py.test testing
  '';

  meta = {
    description = "Run tests in isolated forked subprocesses";
    homepage = https://github.com/pytest-dev/pytest-forked;
    license = lib.licenses.mit;
  };

}