nixpkgs/pkgs/development/python-modules/objexplore/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

64 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
blessed,
rich,
pytestCheckHook,
pandas,
}:
buildPythonPackage {
pname = "objexplore";
version = "1.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kylepollina";
repo = "objexplore";
# tags for >1.5.4 are not availables on github
# see: https://github.com/kylepollina/objexplore/issues/25
rev = "3c2196d26e5a873eed0a694cddca66352ea7c81e";
hash = "sha256-BgeuRRuvbB4p99mwCjNxm3hYEZuGua8x2GdoVssQ7eI=";
};
pythonRelaxDeps = [
"blessed"
"rich"
];
build-system = [ setuptools ];
dependencies = [
blessed
rich
];
nativeCheckInputs = [
pytestCheckHook
pandas
];
pythonImportsCheck = [
"objexplore"
"objexplore.cached_object"
"objexplore.explorer"
"objexplore.filter"
"objexplore.help_layout"
"objexplore.objexplore"
"objexplore.overview"
"objexplore.stack"
"objexplore.utils"
];
meta = {
description = "Terminal UI to interactively inspect and explore Python objects";
homepage = "https://github.com/kylepollina/objexplore";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
pbsds
sigmanificient
];
};
}