2018-06-23 13:27:58 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-04-26 12:31:25 +00:00
|
|
|
m2r, setuptools_scm, six, attrs }:
|
2018-06-23 13:27:58 +00:00
|
|
|
|
2017-04-26 12:31:25 +00:00
|
|
|
buildPythonPackage rec {
|
2020-06-06 06:46:58 +00:00
|
|
|
version = "20.2.0";
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "Automat";
|
2017-04-26 12:31:25 +00:00
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 06:46:58 +00:00
|
|
|
sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33";
|
2017-04-26 12:31:25 +00: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; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/glyph/Automat";
|
2017-04-26 12:31:25 +00:00
|
|
|
description = "Self-service finite-state machines for the programmer on the go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|