Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ 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 ]; };}