Files
nixpkgs/pkgs/development/python-modules/python-toolbox/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

48 lines
1010 B
Nix

{
lib,
buildPythonPackage,
docutils,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "python-toolbox";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "cool-RR";
repo = "python_toolbox";
tag = version;
hash = "sha256-pbo4vhypM97OXh6CxK42EbZdrXljvj5rmP9C9RDPo5g=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
docutils
pytestCheckHook
];
disabledTestPaths = [
# file imports 'dummy_threading', which was deprecated since py37
# and removed in py39
"test_python_toolbox/test_cute_profile/test_cute_profile.py"
];
disabledTests = [
# AssertionError
"test_repr"
];
meta = {
description = "Tools for testing PySnooper";
homepage = "https://github.com/cool-RR/python_toolbox";
changelog = "https://github.com/cool-RR/python_toolbox/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ seqizz ];
};
}