2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
hatch-vcs,
|
|
|
|
hatchling,
|
|
|
|
pytest,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-metadata";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.1.1";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "pyproject";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-01-20 10:41:00 +00:00
|
|
|
pname = "pytest_metadata";
|
|
|
|
inherit version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-0qKbA1X7wD8WiqltQf+IsaO0SjsCrL5JGAHJigSAF8g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
nativeBuildInputs = [
|
2023-08-10 07:59:29 +00:00
|
|
|
hatchling
|
|
|
|
hatch-vcs
|
2023-01-20 10:41:00 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [ pytest ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Plugin for accessing test session metadata";
|
|
|
|
homepage = "https://github.com/pytest-dev/pytest-metadata";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ mpoquet ];
|
|
|
|
};
|
|
|
|
}
|