summary refs log tree commit diff
path: root/pkgs/development/python-modules/objgraph/default.nix
blob: 6d26d71141dc880cc7b750b4e4738410031177a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
, isPyPy
}:

buildPythonPackage rec {
  pname = "objgraph";
  version = "2.0.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "841de52715774ec1d0e97d9b4462d6e3e10406155f9b61f54ba7db984c45442a";
  };

  # Tests fail with PyPy.
  disabled = isPyPy;

  propagatedBuildInputs = [pkgs.graphviz];

  meta = with stdenv.lib; {
    description = "Draws Python object reference graphs with graphviz";
    homepage = https://mg.pov.lt/objgraph/;
    license = licenses.mit;
  };

}