2018-06-23 15:27:58 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-04-26 14:31:25 +02:00
|
|
|
m2r, setuptools_scm, six, attrs }:
|
2018-06-23 15:27:58 +02:00
|
|
|
|
2017-04-26 14:31:25 +02:00
|
|
|
buildPythonPackage rec {
|
2019-10-24 08:47:24 +02:00
|
|
|
version = "0.8.0";
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "Automat";
|
2017-04-26 14:31:25 +02:00
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:24 +02:00
|
|
|
sha256 = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484";
|
2017-04-26 14:31:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ m2r setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ six attrs ];
|
|
|
|
|
|
|
|
# Some tests require twisetd, but twisted requires Automat to build.
|
|
|
|
# this creates a circular dependency.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/glyph/Automat;
|
|
|
|
description = "Self-service finite-state machines for the programmer on the go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|