1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "objprint";
11 version = "0.3.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "gaogaotiantian";
16 repo = "objprint";
17 tag = version;
18 hash = "sha256-+OS034bikrKy4F27b6ic97fHTW6rSMxQ0dx4caF6cUM=";
19 };
20
21 build-system = [ setuptools ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "objprint" ];
26
27 meta = {
28 description = "Library that can print Python objects in human readable format";
29 homepage = "https://github.com/gaogaotiantian/objprint";
30 changelog = "https://github.com/gaogaotiantian/objprint/releases/tag/${version}";
31 license = lib.licenses.asl20;
32 maintainers = with lib.maintainers; [ ];
33 };
34}