depot/third_party/nixpkgs/pkgs/development/python-modules/allure-behave/default.nix

39 lines
753 B
Nix
Raw Normal View History

{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
behave,
allure-python-commons,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "allure-behave";
version = "2.13.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-M4yizHOV0e491y9dfZLYkg8a3g4H3evGN7OOYeBtyNw=";
};
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 ];
};
}