mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
Merge master into staging-next
This commit is contained in:
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 ];
|
||||
};
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysonos";
|
||||
version = "0.0.44";
|
||||
version = "0.0.45";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "amelchio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "108818mkb037zs4ikilrskfppcbmqslsm6zaxmy8pphjh7c299mz";
|
||||
sha256 = "0wzmrd9ja5makvsgf0ckil99wr8vw91dml8fi9miiq4la0100q0n";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ifaddr requests xmltodict ];
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, odfpy
|
||||
, openpyxl
|
||||
, pandas
|
||||
, setuptools-scm
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pyyaml
|
||||
@@ -20,6 +21,7 @@ buildPythonPackage rec {
|
||||
sha256 = "f83cac08454f225a34a305daa20e2110d5e6335135d505f93bc66583a5f9c10d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];
|
||||
checkInputs = [ pytest pytestcov unicodecsv pandas ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user