1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pytest, 7 pudb, 8}: 9 10buildPythonPackage { 11 pname = "pytest-pudb"; 12 version = "0.8.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "wronglink"; 17 repo = "pytest-pudb"; 18 # Repo missing tags for releases https://github.com/wronglink/pytest-pudb/issues/24 19 rev = "a6b3d2f4d35e558d72bccff472ecde9c9d9c69e5"; 20 hash = "sha256-gI9p6sXCQaQjWBXaHJCFli6lBh8+pr+KPhz50fv1F7A="; 21 }; 22 23 buildInputs = [ pytest ]; 24 25 propagatedBuildInputs = [ pudb ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "pytest_pudb" ]; 30 31 meta = { 32 # https://github.com/wronglink/pytest-pudb/issues/28 33 broken = lib.versionAtLeast pytest.version "8.4.0"; 34 description = "Pytest PuDB debugger integration"; 35 homepage = "https://github.com/wronglink/pytest-pudb"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ thornycrackers ]; 38 }; 39}