mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 03:28:45 +03:00
Merge pull request #212892 from ocfox/objsize
python3Packages.objsize: init at 0.6.1
This commit is contained in:
commit
199c540e34
24
pkgs/development/python-modules/objsize/default.nix
Normal file
24
pkgs/development/python-modules/objsize/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -6528,6 +6528,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;
|
||||
|
Loading…
Reference in New Issue
Block a user