1{ stdenv, buildPythonPackage, fetchPypi, 2 m2r, setuptools_scm, six, attrs }: 3 4buildPythonPackage rec { 5 version = "0.7.0"; 6 pname = "Automat"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "cbd78b83fa2d81fe2a4d23d258e1661dd7493c9a50ee2f1a5b2cac61c1793b0e"; 11 }; 12 13 buildInputs = [ m2r setuptools_scm ]; 14 propagatedBuildInputs = [ six attrs ]; 15 16 # Some tests require twisetd, but twisted requires Automat to build. 17 # this creates a circular dependency. 18 doCheck = false; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/glyph/Automat; 22 description = "Self-service finite-state machines for the programmer on the go"; 23 license = licenses.mit; 24 maintainers = [ ]; 25 }; 26}