diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-27 09:33:18 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-01-27 11:42:13 +0100 |
commit | 2474e6e212accb9901e8d08bd90681a18183eff5 (patch) | |
tree | 5f8cc644f90b29fae8e82efbe6cabf4b2c840707 /pkgs/development/python-modules/transitions | |
parent | 9c95eb828ab6cc7b022197f68e1e0a8ce4241d89 (diff) | |
download | nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.tar nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.tar.gz nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.tar.bz2 nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.tar.lz nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.tar.xz nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.tar.zst nixlib-2474e6e212accb9901e8d08bd90681a18183eff5.zip |
pythonPackages.transitions: init at 0.6.4
Diffstat (limited to 'pkgs/development/python-modules/transitions')
-rw-r--r-- | pkgs/development/python-modules/transitions/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/transitions/default.nix b/pkgs/development/python-modules/transitions/default.nix new file mode 100644 index 000000000000..edf13782b078 --- /dev/null +++ b/pkgs/development/python-modules/transitions/default.nix @@ -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 ]; + }; +} |