2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
2021-06-04 09:07:49 +00:00
|
|
|
m2r, setuptools-scm, six, attrs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "20.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "Automat";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
buildInputs = [ m2r setuptools-scm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ six attrs ];
|
|
|
|
|
|
|
|
# Some tests require twisetd, but twisted requires Automat to build.
|
|
|
|
# this creates a circular dependency.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/glyph/Automat";
|
|
|
|
description = "Self-service finite-state machines for the programmer on the go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|