python.pkgs.objgraph: fix build

Fixes https://github.com/NixOS/nixpkgs/issues/52518.
This commit is contained in:
Robert Schütz 2018-12-19 14:13:16 +01:00
parent 6972c433ab
commit 407f9ba5c9

View file

@ -1,8 +1,9 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
, isPyPy
, graphviz
, mock
}:
buildPythonPackage rec {
@ -17,7 +18,9 @@ buildPythonPackage rec {
# Tests fail with PyPy.
disabled = isPyPy;
propagatedBuildInputs = [pkgs.graphviz];
propagatedBuildInputs = [ graphviz ];
checkInputs = [ mock ];
meta = with stdenv.lib; {
description = "Draws Python object reference graphs with graphviz";