Skip to content

Commit

Permalink
python312Packages.objprint: init at 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Nov 3, 2024
1 parent fba9acf commit ab9b1d3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/development/python-modules/objprint/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:

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

src = fetchFromGitHub {
owner = "gaogaotiantian";
repo = "objprint";
rev = version;
hash = "sha256-IGYjDdi3JzYk53ITVOhVnm9EDsa+4HXSVtVUE3wQWTo=";
};

build-system = [
setuptools
];

pythonImportsCheck = [
"objprint"
];

nativeCheckInputs = [
pytestCheckHook
];

meta = {
description = "Library that can print Python objects in human readable format";
homepage = "https://github.com/gaogaotiantian/objprint";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ drupol ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9263,6 +9263,8 @@ self: super: with self; {

objexplore = callPackage ../development/python-modules/objexplore { };

objprint = callPackage ../development/python-modules/objprint { };

objsize = callPackage ../development/python-modules/objsize { };

objgraph = callPackage ../development/python-modules/objgraph {
Expand Down

0 comments on commit ab9b1d3

Please sign in to comment.