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