nixpkgs/pkgs/development/python-modules/allure-python-commons-test/default.nix
Martin Weinelt 7c29b9bde8
python3Packages.allure-python-commons-test: 2.13.5 -> 2.15.0
This commit was automatically generated using update-python-libraries.
2025-08-09 18:57:56 +02:00

49 lines
1 KiB
Nix

{
lib,
fetchPypi,
buildPythonPackage,
attrs,
pluggy,
six,
pyhamcrest,
setuptools-scm,
python,
}:
buildPythonPackage rec {
pname = "allure-python-commons-test";
version = "2.15.0";
format = "setuptools";
src = fetchPypi {
pname = "allure_python_commons_test";
inherit version;
hash = "sha256-5l/9K6ToYEGaYXOmVxB188wu9gQ+2cMHxfVNlX8Rz9g=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
attrs
pluggy
six
pyhamcrest
];
checkPhase = ''
${python.interpreter} -m doctest ./src/container.py
${python.interpreter} -m doctest ./src/report.py
${python.interpreter} -m doctest ./src/label.py
${python.interpreter} -m doctest ./src/result.py
'';
pythonImportsCheck = [ "allure_commons_test" ];
meta = with lib; {
description = "Just pack of hamcrest matchers for validation result in allure2 json format";
homepage = "https://github.com/allure-framework/allure-python";
license = licenses.asl20;
maintainers = with maintainers; [ evanjs ];
};
}