1{ lib, buildPythonPackage, fetchPypi, 2 m2r, setuptools-scm, six, attrs }: 3 4buildPythonPackage rec { 5 version = "20.2.0"; 6 pname = "Automat"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33"; 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 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}