depot/third_party/nixpkgs/pkgs/development/python-modules/python-toolbox/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
820 B
Nix

{
lib,
buildPythonPackage,
docutils,
fetchFromGitHub,
isPy27,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "1.0.10";
pname = "python_toolbox";
disabled = isPy27;
src = fetchFromGitHub {
owner = "cool-RR";
repo = pname;
rev = version;
sha256 = "1hpls1hwisdjx1g15cq052bdn9fvh43r120llws8bvgvj9ivnaha";
};
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"
];
meta = with lib; {
description = "Tools for testing PySnooper";
homepage = "https://github.com/cool-RR/python_toolbox";
license = licenses.mit;
maintainers = with maintainers; [ seqizz ];
};
}