emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / pytest-subtests / default.nix
blobee0bd0220226cd3a14d3375b6717a5e6e23fffff
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   setuptools,
9   setuptools-scm,
11   # dependencies
12   attrs,
14   # tests
15   pytestCheckHook,
18 buildPythonPackage rec {
19   pname = "pytest-subtests";
20   version = "0.13.1";
21   format = "pyproject";
23   disabled = pythonOlder "3.7";
25   src = fetchPypi {
26     pname = "pytest_subtests";
27     inherit version;
28     hash = "sha256-mJ448PHAG8fGsuBNt9n9hZ2zXXfCwaQwyDGnDL8/3i0=";
29   };
31   nativeBuildInputs = [
32     setuptools
33     setuptools-scm
34   ];
36   propagatedBuildInputs = [ attrs ];
38   nativeCheckInputs = [ pytestCheckHook ];
40   pythonImportsCheck = [ "pytest_subtests" ];
42   meta = with lib; {
43     description = "Pytest plugin for unittest subTest() support and subtests fixture";
44     homepage = "https://github.com/pytest-dev/pytest-subtests";
45     license = licenses.mit;
46     maintainers = with maintainers; [ fab ];
47   };