Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchPypi, pyhamcrest, python, setuptools-scm,}:
buildPythonPackage rec { pname = "allure-python-commons-test"; version = "2.16.2"; pyproject = true;
src = fetchPypi { pname = "allure_python_commons_test"; inherit version; hash = "sha256-2W2kmIWF6vgPRKKDwK+/jhnQk8LZoe710U0iqmQnKaE="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "setuptools_scm<10" "setuptools_scm" '';
build-system = [ setuptools-scm ];
dependencies = [ 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 = { description = "Just pack of hamcrest matchers for validation result in allure2 json format"; homepage = "https://github.com/allure-framework/allure-python"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ evanjs ]; };}