Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, allure-python-commons, buildPythonPackage, fetchFromGitHub, pytest, setuptools-scm,}:
buildPythonPackage rec { pname = "allure-pytest"; version = "2.16.0"; pyproject = true;
src = fetchFromGitHub { owner = "allure-framework"; repo = "allure-python"; tag = version; hash = "sha256-IwkbrOEhPuScn/eTDevbgV3w/awPivvSauD1tmAH7Qk="; };
sourceRoot = "${src.name}/allure-pytest";
postPatch = '' substituteInPlace setup.py \ --replace-fail "setuptools_scm<10" "setuptools_scm" '';
build-system = [ setuptools-scm ];
buildInputs = [ pytest ];
dependencies = [ allure-python-commons ];
# Tests were moved to the meta package doCheck = false;
pythonImportsCheck = [ "allure_pytest" ];
meta = { description = "Allure integrations for Python test frameworks"; homepage = "https://github.com/allure-framework/allure-python"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ evanjs ]; };}