nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools_scm
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "pytest-forked";
10 version = "1.1.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "1805699ed9c9e60cb7a8179b8d4fa2b8898098e82d229b0825d8095f0f261100";
15 };
16
17 buildInputs = [ pytest setuptools_scm ];
18
19 # Do not function
20 doCheck = false;
21
22 checkPhase = ''
23 py.test testing
24 '';
25
26 meta = {
27 description = "Run tests in isolated forked subprocesses";
28 homepage = https://github.com/pytest-dev/pytest-forked;
29 license = lib.licenses.mit;
30 };
31
32}