Files
nixpkgs/pkgs/development/python-modules/pysnooper/default.nix
2025-08-21 14:49:03 +02:00

34 lines
671 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pysnooper";
version = "1.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "cool-RR";
repo = "PySnooper";
tag = version;
hash = "sha256-+Cjqi0xkWO4QVAZymmcper4dal9pNWbpPgPY4UzbXfA=";
};
build-system = [ setuptools ];
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 ];
};
}