python3Packages.objsize: init at 0.6.1

This commit is contained in:
ocfox 2023-01-27 12:02:56 +08:00
parent 68607705cd
commit 22ad974ea9
No known key found for this signature in database
GPG Key ID: 8C2212388306143C
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib
, python
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "objsize";
version = "0.6.1";
src = fetchFromGitHub {
owner = "liran-funaro";
repo = pname;
rev = version;
hash = "sha256-FgRB7EENwNOlC7ynIRxcwucoywNjko494s75kOp5O+w=";
};
meta = with lib; {
description = "Traversal over objects subtree and calculate the total size";
homepage = "https://github.com/liran-funaro/objsize";
license = licenses.bsd3;
maintainers = with maintainers; [ ocfox ];
};
}

View File

@ -6516,6 +6516,8 @@ self: super: with self; {
objax = callPackage ../development/python-modules/objax { };
objsize = callPackage ../development/python-modules/objsize { };
objgraph = callPackage ../development/python-modules/objgraph {
# requires both the graphviz package and python package
graphvizPkgs = pkgs.graphviz;