nixpkgs/pkgs/development/python-modules/debuglater/default.nix
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

46 lines
929 B
Nix

{
lib,
buildPythonPackage,
colorama,
dill,
fetchFromGitHub,
numpy,
pandas,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "debuglater";
version = "1.4.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "ploomber";
repo = "debuglater";
tag = version;
hash = "sha256-o9IAk3EN8ghEft7Y7Xx+sEjWMNgoyiZ0eiBqnCyXkm8=";
};
propagatedBuildInputs = [ colorama ];
optional-dependencies = {
all = [ dill ];
};
nativeCheckInputs = [
numpy
pandas
pytestCheckHook
]
++ optional-dependencies.all;
pythonImportsCheck = [ "debuglater" ];
meta = {
description = "Module for post-mortem debugging of Python programs";
homepage = "https://github.com/ploomber/debuglater";
changelog = "https://github.com/ploomber/debuglater/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}