1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 pytest,
7 pudb,
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-pudb";
12 version = "0.7.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 = with lib; {
32 description = "Pytest PuDB debugger integration";
33 homepage = "https://github.com/wronglink/pytest-pudb";
34 license = licenses.mit;
35 maintainers = with maintainers; [ thornycrackers ];
36 };
37}