pythonPackages.objgraph: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-17 14:46:29 -04:00
committed by Frederik Rietdijk
parent da78a13ad1
commit 1ff8adc940
2 changed files with 29 additions and 20 deletions

View File

@@ -0,0 +1,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;
};
}