pythonPackages.transitions: init at 0.6.4

This commit is contained in:
Robert Schütz 2018-01-27 09:33:18 +01:00
parent 9c95eb828a
commit 2474e6e212
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, buildPythonPackage, fetchPypi
, six, nose, mock, dill, pycodestyle }:
buildPythonPackage rec {
pname = "transitions";
version = "0.6.4";
src = fetchPypi {
inherit pname version;
sha256 = "1ikxsjg7vil0yhiwhiimnjzcb1ig6g6g79sdhs9v8rnrszk1mi2n";
};
postPatch = ''
substituteInPlace setup.py --replace "dill<0.2.7" dill
'';
propagatedBuildInputs = [ six ];
checkInputs = [ nose mock dill pycodestyle ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
homepage = https://github.com/pytransitions/transitions;
description = "A lightweight, object-oriented finite state machine implementation in Python";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -17533,6 +17533,8 @@ in {
traitlets = callPackage ../development/python-modules/traitlets { };
transitions = callPackage ../development/python-modules/transitions { };
python_mimeparse = buildPythonPackage rec {
name = "python-mimeparse-${version}";
version = "0.1.4";