depot/third_party/nixpkgs/pkgs/development/python-modules/pysnooper/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
644 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pysnooper";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "PySnooper";
hash = "sha256-gQZp4WKiUKBm2GYuVzrbxa93DpN8W1V48ou3NV0chZs=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pysnooper" ];
meta = with lib; {
description = "Poor man's debugger for Python";
homepage = "https://github.com/cool-RR/PySnooper";
license = licenses.mit;
maintainers = with maintainers; [ seqizz ];
};
}