Files
nixpkgs/pkgs/development/python-modules/allure-pytest/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
882 B
Nix

{
lib,
allure-python-commons,
buildPythonPackage,
fetchFromGitHub,
pytest,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "allure-pytest";
version = "2.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "allure-framework";
repo = "allure-python";
tag = version;
hash = "sha256-I3Zh9frOplcPqLd8b4peNM9WtbNmQjHX6ocVJJwPzyc=";
};
sourceRoot = "${src.name}/allure-pytest";
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 ];
};
}