lol

python311Packages.pytest-json-report: disable failing test

+10 -3
+10 -3
pkgs/development/python-modules/pytest-json-report/default.nix
··· 6 6 , pytest-xdist 7 7 , pytestCheckHook 8 8 , pythonOlder 9 + , setuptools 9 10 }: 10 11 11 12 buildPythonPackage rec { 12 13 pname = "pytest-json-report"; 13 14 version = "1.5.0"; 14 - format = "setuptools"; 15 + pyproject = true; 15 16 16 17 disabled = pythonOlder "3.7"; 17 18 18 19 src = fetchFromGitHub { 19 20 owner = "numirias"; 20 - repo = pname; 21 - rev = "v${version}"; 21 + repo = "pytest-json-report"; 22 + rev = "refs/tags/v${version}"; 22 23 hash = "sha256-hMB/atDuo7CjwhHFUOxVfgJ7Qp4AA9J428iv7hyQFcs="; 23 24 }; 24 25 26 + nativeBuildInputs = [ 27 + setuptools 28 + ]; 29 + 25 30 buildInputs = [ 26 31 pytest 27 32 ]; ··· 38 43 disabledTests = [ 39 44 # pytest-flaky is not available at the moment 40 45 "test_bug_31" 46 + "test_environment_via_metadata_plugin" 41 47 ]; 42 48 43 49 pythonImportsCheck = [ ··· 47 53 meta = with lib; { 48 54 description = "Pytest plugin to report test results as JSON"; 49 55 homepage = "https://github.com/numirias/pytest-json-report"; 56 + changelog = "https://github.com/numirias/pytest-json-report/releases/tag/v${version}"; 50 57 license = licenses.mit; 51 58 maintainers = with maintainers; [ fab ]; 52 59 };