depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-forked/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

32 lines
582 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
}:
buildPythonPackage rec {
pname = "pytest-forked";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca";
};
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;
};
}