mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
35 lines
814 B
Nix
35 lines
814 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "objprint";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gaogaotiantian";
|
|
repo = "objprint";
|
|
rev = "refs/tags/${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 = with lib.maintainers; [ drupol ];
|
|
};
|
|
}
|