1{ stdenv, buildPythonPackage, fetchPypi,
2 m2r, setuptools_scm, six, attrs }:
3
4buildPythonPackage rec {
5 version = "0.8.0";
6 pname = "Automat";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484";
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}