summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/objprint/default.nix
blob: ab4401907f113e3742b0c586bd36d180562c831d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "objprint";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "gaogaotiantian";
    repo = "objprint";
    tag = version;
    hash = "sha256-+OS034bikrKy4F27b6ic97fHTW6rSMxQ0dx4caF6cUM=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "objprint" ];

  meta = {
    description = "Library that can print Python objects in human readable format";
    homepage = "https://github.com/gaogaotiantian/objprint";
    changelog = "https://github.com/gaogaotiantian/objprint/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}