1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pysnooper";
11 version = "1.2.3";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "cool-RR";
16 repo = "PySnooper";
17 tag = version;
18 hash = "sha256-+Cjqi0xkWO4QVAZymmcper4dal9pNWbpPgPY4UzbXfA=";
19 };
20
21 build-system = [ setuptools ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "pysnooper" ];
26
27 meta = with lib; {
28 description = "Poor man's debugger for Python";
29 homepage = "https://github.com/cool-RR/PySnooper";
30 license = licenses.mit;
31 maintainers = with maintainers; [ seqizz ];
32 };
33}