pycflow2dot: init at 0.2.3

This commit is contained in:
Evils 2021-05-09 02:30:09 +02:00 committed by Jonathan Ringer
parent d67b19f223
commit b8a7603c6d
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, cflow
, graphviz
, pydot
, networkx
, which
}:
buildPythonPackage rec {
pname = "pycflow2dot";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "1zm8x2pd0q6zza0fw7hg9g1qvybfnjq6ql9b8mh2fc45l7l25655";
};
propagatedBuildInputs = [
cflow
graphviz
pydot
networkx
which
];
pythonImportsCheck = [ "pycflow2dot" ];
checkPhase = ''
cd tests
export PATH=$out/bin:$PATH
make all
'';
meta = with lib; {
description = "Layout C call graphs from cflow using GraphViz dot";
homepage = "https://github.com/johnyf/pycflow2dot";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ evils ];
};
}

View File

@ -7820,6 +7820,8 @@ in
pycangjie = pythonPackages.pycangjie;
pycflow2dot = with python.pkgs; toPythonApplication pycflow2dot;
pydb = callPackage ../development/tools/pydb { };
pydf = callPackage ../applications/misc/pydf { };

View File

@ -5410,6 +5410,10 @@ in {
pycfdns = callPackage ../development/python-modules/pycfdns { };
pycflow2dot = callPackage ../development/python-modules/pycflow2dot {
inherit (pkgs) graphviz;
};
pychannels = callPackage ../development/python-modules/pychannels { };
pychart = callPackage ../development/python-modules/pychart { };