11 buildPythonPackage rec {
12 pname = "pytest-cases";
14 format = "setuptools";
16 disabled = pythonOlder "3.6";
19 inherit pname version;
20 hash = "sha256-dFXmylelRMG/3YtWrOCMHBzkxlcqiquPG9NR3CWhC2s=";
31 propagatedBuildInputs = [
37 substituteInPlace setup.cfg \
38 --replace "pytest-runner" ""
41 # Tests have dependencies (pytest-harvest, pytest-steps) which
42 # are not available in Nixpkgs. Most of the packages (decopatch,
43 # makefun, pytest-*) have circular dependencies.
46 pythonImportsCheck = [
51 description = "Separate test code from test cases in pytest";
52 homepage = "https://github.com/smarie/python-pytest-cases";
53 changelog = "https://github.com/smarie/python-pytest-cases/releases/tag/${version}";
54 license = licenses.bsd3;
55 maintainers = with maintainers; [ fab ];