pycflow2dot: init at 0.2.3
This commit is contained in:
parent
d67b19f223
commit
b8a7603c6d
41
pkgs/development/python-modules/pycflow2dot/default.nix
Normal file
41
pkgs/development/python-modules/pycflow2dot/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -7820,6 +7820,8 @@ in
|
||||
|
||||
pycangjie = pythonPackages.pycangjie;
|
||||
|
||||
pycflow2dot = with python.pkgs; toPythonApplication pycflow2dot;
|
||||
|
||||
pydb = callPackage ../development/tools/pydb { };
|
||||
|
||||
pydf = callPackage ../applications/misc/pydf { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user