Files
nixpkgs/pkgs/development/python-modules/allure-behave/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
824 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
behave,
allure-python-commons,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "allure-behave";
version = "2.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "allure-framework";
repo = "allure-python";
tag = version;
hash = "sha256-I3Zh9frOplcPqLd8b4peNM9WtbNmQjHX6ocVJJwPzyc=";
};
sourceRoot = "${src.name}/allure-behave";
build-system = [ setuptools-scm ];
dependencies = [
allure-python-commons
behave
];
doCheck = false; # no tests
pythonImportsCheck = [ "allure_behave" ];
meta = {
description = "Allure behave integration";
homepage = "https://github.com/allure-framework/allure-python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ happysalada ];
};
}