Merge pull request #242136 from Thornycrackers-Forks/python310Packages.pytest-pudb
This commit is contained in:
commit
503c1f5a99
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/pytest-pudb/default.nix
Normal file
36
pkgs/development/python-modules/pytest-pudb/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -7969,6 +7969,8 @@ self: super: with self; {
|
|||
|
||||
pytest-mockito = callPackage ../development/python-modules/pytest-mockito { };
|
||||
|
||||
pytest-pudb = callPackage ../development/python-modules/pytest-pudb { };
|
||||
|
||||
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
||||
|
||||
python-creole = callPackage ../development/python-modules/python-creole { };
|
||||
|
|
Loading…
Reference in a new issue