83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
38 lines
726 B
Nix
38 lines
726 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, behave
|
|
, allure-python-commons
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "allure-behave";
|
|
version = "2.12.0";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CxdB1gliajS6dUUhnD+yRMVj0zglGEwZC6RDmirH+pg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
pythonImportsCheck = [ "allure_behave" ];
|
|
|
|
propagatedBuildInputs = [
|
|
allure-python-commons
|
|
behave
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Allure behave integration.";
|
|
homepage = "https://github.com/allure-framework/allure-python";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|