Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, buildPythonPackage 4, pythonOlder 5, behave 6, allure-python-commons 7, setuptools-scm 8}: 9 10buildPythonPackage rec { 11 pname = "allure-behave"; 12 version = "2.12.0"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-CxdB1gliajS6dUUhnD+yRMVj0zglGEwZC6RDmirH+pg="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools-scm 23 ]; 24 25 pythonImportsCheck = [ "allure_behave" ]; 26 27 propagatedBuildInputs = [ 28 allure-python-commons 29 behave 30 ]; 31 32 meta = with lib; { 33 description = "Allure behave integration."; 34 homepage = "https://github.com/allure-framework/allure-python"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ happysalada ]; 37 }; 38}