9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
36 lines
849 B
Nix
36 lines
849 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pytest
|
|
, pudb
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-pudb";
|
|
version = "0.7.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wronglink";
|
|
repo = "pytest-pudb";
|
|
# Repo missing tags for releases https://github.com/wronglink/pytest-pudb/issues/24
|
|
rev = "a6b3d2f4d35e558d72bccff472ecde9c9d9c69e5";
|
|
hash = "sha256-gI9p6sXCQaQjWBXaHJCFli6lBh8+pr+KPhz50fv1F7A=";
|
|
};
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ pudb ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pytest_pudb" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pytest PuDB debugger integration";
|
|
homepage = "https://github.com/wronglink/pytest-pudb";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ thornycrackers ];
|
|
};
|
|
}
|