nixpkgs/pkgs/development/python-modules/pytest-forked/default.nix
Robert Schütz 7267c7bade pythonPackages:pytest-forked: run tests
Also update inputs to match setup.py and add dotlambda to maintainers.
2021-01-29 18:28:39 +01:00

32 lines
653 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, py
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-forked";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ py pytest ];
checkInputs = [ pytestCheckHook ];
meta = {
description = "Run tests in isolated forked subprocesses";
homepage = "https://github.com/pytest-dev/pytest-forked";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}