pythonPackages.transitions: 0.8.5 -> 0.8.6
This commit is contained in:
parent
0bc275e634
commit
8c1ce4ec70
@ -1,26 +1,21 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchFromGitHub
|
||||||
, six, nose, mock, dill, pycodestyle }:
|
, six, pytestCheckHook, mock, dill, pycodestyle }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "transitions";
|
pname = "transitions";
|
||||||
version = "0.8.5";
|
version = "0.8.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
# test_codestyle.py fails in PyPI sdist
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "e441c66a0c753d56c01c3e5e547f21dbe4a5569c939f12477475c5e81d79769b";
|
owner = "pytransitions";
|
||||||
|
repo = "transitions";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1d913hzzyqhdhhbkbvjw65dqkajrw50a4sxhyxk0jlg8pcs7bs7v";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py --replace "dill<0.2.7" dill
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
checkInputs = [ nose mock dill pycodestyle ];
|
checkInputs = [ pytestCheckHook mock dill pycodestyle ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/pytransitions/transitions";
|
homepage = "https://github.com/pytransitions/transitions";
|
||||||
|
Loading…
Reference in New Issue
Block a user