Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchPypi, graphviz, graphvizPkgs, isPyPy, python, pythonOlder, substituteAll, setuptools,}:
buildPythonPackage rec { pname = "objgraph"; version = "3.6.1"; pyproject = true;
disabled = pythonOlder "3.7" || isPyPy;
src = fetchPypi { inherit pname version; hash = "sha256-/pbHQUe7yq6GZbOW5TiL3MMZfe67pOY4HwUgLuW0U6c="; };
patches = [ (substituteAll { src = ./hardcode-graphviz-path.patch; graphviz = graphvizPkgs; }) ];
build-system = [ setuptools ];
optional-dependencies = { ipython = [ graphviz ]; };
pythonImportsCheck = [ "objgraph" ];
checkPhase = '' runHook preCheck ${python.interpreter} tests.py runHook postCheck '';
meta = with lib; { description = "Draws Python object reference graphs with graphviz"; homepage = "https://mg.pov.lt/objgraph/"; changelog = "https://github.com/mgedmin/objgraph/blob/${version}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}