567e8dfd8e
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>
42 lines
824 B
Nix
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 ];
|
|
};
|
|
}
|