pythonPackages.transitions: 0.8.6 -> 0.8.7
This commit is contained in:
parent
1be1abd288
commit
d72819ef80
@ -1,21 +1,39 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, six, pytestCheckHook, mock, dill, pycodestyle }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pygraphviz
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
, graphviz
|
||||
, pycodestyle
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "transitions";
|
||||
version = "0.8.6";
|
||||
version = "0.8.7";
|
||||
|
||||
# test_codestyle.py fails in PyPI sdist
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytransitions";
|
||||
repo = "transitions";
|
||||
rev = version;
|
||||
sha256 = "1d913hzzyqhdhhbkbvjw65dqkajrw50a4sxhyxk0jlg8pcs7bs7v";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8c60ec0828cd037820726283cad5d4d77a5e31514e058b51250420e9873e9bc7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
pygraphviz # optional
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook mock dill pycodestyle ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
mock
|
||||
graphviz
|
||||
pycodestyle
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Fontconfig error: Cannot load default config file
|
||||
"test_diagram"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pytransitions/transitions";
|
||||
|
Loading…
Reference in New Issue
Block a user