depot/third_party/nixpkgs/pkgs/development/python-modules/allure-pytest/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
837 B
Nix

{
lib,
allure-python-commons,
buildPythonPackage,
fetchPypi,
pytest,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "allure-pytest";
version = "2.13.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-DvjheQxEqYjba4PE1PXpFFHixMjqEGAd+ohSjSOvz24=";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ pytest ];
propagatedBuildInputs = [ allure-python-commons ];
# Tests were moved to the meta package
doCheck = false;
pythonImportsCheck = [ "allure_pytest" ];
meta = with lib; {
description = "Allure integrations for Python test frameworks";
homepage = "https://github.com/allure-framework/allure-python";
license = licenses.asl20;
maintainers = with maintainers; [ evanjs ];
};
}