python3Packages.blockdiag: 2.0.1 -> 3.0.0
This commit is contained in:
parent
74ea9f9291
commit
dc3e2d57ef
1 changed files with 45 additions and 7 deletions
|
@ -1,22 +1,60 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib
|
||||||
, setuptools, funcparserlib, pillow, webcolors, reportlab, docutils
|
, buildPythonPackage
|
||||||
|
, docutils
|
||||||
|
, fetchFromGitHub
|
||||||
|
, funcparserlib
|
||||||
|
, nose
|
||||||
|
, pillow
|
||||||
|
, ephem
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, reportlab
|
||||||
|
, setuptools
|
||||||
|
, webcolors
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "blockdiag";
|
pname = "blockdiag";
|
||||||
version = "2.0.1";
|
version = "3.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "blockdiag";
|
owner = "blockdiag";
|
||||||
repo = "blockdiag";
|
repo = "blockdiag";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1cvcl66kf4wdh2n4fdk37zk59lp58wd2fhf84n7pbn0lilyksk5x";
|
sha256 = "sha256-j8FoNUIJJOaahaol1MRPyY2jcPCEIlaAD4bmM2QKFFI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools funcparserlib pillow webcolors reportlab docutils ];
|
propagatedBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
funcparserlib
|
||||||
|
pillow
|
||||||
|
webcolors
|
||||||
|
reportlab
|
||||||
|
docutils
|
||||||
|
];
|
||||||
|
|
||||||
# require network and fail
|
checkInputs = [
|
||||||
doCheck = false;
|
ephem
|
||||||
|
nose
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"src/blockdiag/tests/"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Test require network access
|
||||||
|
"test_app_cleans_up_images"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"blockdiag"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
|
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
|
||||||
|
|
Loading…
Reference in a new issue