Files

48 lines
1023 B
Nix

{
lib,
allure-python-commons-test,
attrs,
buildPythonPackage,
fetchPypi,
pluggy,
python,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "allure-python-commons";
version = "2.16.0";
pyproject = true;
src = fetchPypi {
pname = "allure_python_commons";
inherit version;
hash = "sha256-7NySuv6gdLq5a18sTrMQCCU0AYj1rs5giugOztcJs28=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "setuptools_scm<10" "setuptools_scm"
'';
build-system = [ setuptools-scm ];
dependencies = [
attrs
pluggy
];
pythonImportsCheck = [
"allure"
"allure_commons"
];
meta = {
description = "Common engine for all modules. It is useful for make integration with your homemade frameworks";
homepage = "https://github.com/allure-framework/allure-python";
changelog = "https://github.com/allure-framework/allure-python/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ evanjs ];
};
}