nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 41 lines 882 B view raw
1{ 2 lib, 3 allure-python-commons, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytest, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "allure-pytest"; 12 version = "2.15.3"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "allure-framework"; 17 repo = "allure-python"; 18 tag = version; 19 hash = "sha256-06SKodvyoT0mYn4RmAIryZc+VyTI79KXFK+2/zuhzQ0="; 20 }; 21 22 sourceRoot = "${src.name}/allure-pytest"; 23 24 build-system = [ setuptools-scm ]; 25 26 buildInputs = [ pytest ]; 27 28 dependencies = [ allure-python-commons ]; 29 30 # Tests were moved to the meta package 31 doCheck = false; 32 33 pythonImportsCheck = [ "allure_pytest" ]; 34 35 meta = { 36 description = "Allure integrations for Python test frameworks"; 37 homepage = "https://github.com/allure-framework/allure-python"; 38 license = lib.licenses.asl20; 39 maintainers = with lib.maintainers; [ evanjs ]; 40 }; 41}