3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/objgraph/default.nix

32 lines
572 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
, graphviz
, mock
}:
buildPythonPackage rec {
pname = "objgraph";
2018-11-04 10:35:07 +00:00
version = "3.4.0";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:07 +00:00
sha256 = "4a0c2c6268e10a9e8176ae054ff3faac9a432087801e1f95c3ebbe52550295a0";
};
# Tests fail with PyPy.
disabled = isPyPy;
propagatedBuildInputs = [ graphviz ];
checkInputs = [ mock ];
meta = with stdenv.lib; {
description = "Draws Python object reference graphs with graphviz";
homepage = https://mg.pov.lt/objgraph/;
license = licenses.mit;
};
}