Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 behave, 6 allure-python-commons, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "allure-behave"; 12 version = "2.15.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "allure-framework"; 17 repo = "allure-python"; 18 tag = version; 19 hash = "sha256-I3Zh9frOplcPqLd8b4peNM9WtbNmQjHX6ocVJJwPzyc="; 20 }; 21 22 sourceRoot = "${src.name}/allure-behave"; 23 24 build-system = [ setuptools-scm ]; 25 26 dependencies = [ 27 allure-python-commons 28 behave 29 ]; 30 31 doCheck = false; # no tests 32 33 pythonImportsCheck = [ "allure_behave" ]; 34 35 meta = with lib; { 36 description = "Allure behave integration"; 37 homepage = "https://github.com/allure-framework/allure-python"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ happysalada ]; 40 }; 41}