python.pkgs.objgraph: fix build
Fixes https://github.com/NixOS/nixpkgs/issues/52518.
This commit is contained in:
parent
6972c433ab
commit
407f9ba5c9
@ -1,8 +1,9 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pkgs
|
|
||||||
, isPyPy
|
, isPyPy
|
||||||
|
, graphviz
|
||||||
|
, mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,7 +18,9 @@ buildPythonPackage rec {
|
|||||||
# Tests fail with PyPy.
|
# Tests fail with PyPy.
|
||||||
disabled = isPyPy;
|
disabled = isPyPy;
|
||||||
|
|
||||||
propagatedBuildInputs = [pkgs.graphviz];
|
propagatedBuildInputs = [ graphviz ];
|
||||||
|
|
||||||
|
checkInputs = [ mock ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Draws Python object reference graphs with graphviz";
|
description = "Draws Python object reference graphs with graphviz";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user