2018-06-23 14:27:58 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-04-26 13:31:25 +01:00
|
|
|
m2r, setuptools_scm, six, attrs }:
|
2018-06-23 14:27:58 +01:00
|
|
|
|
2017-04-26 13:31:25 +01:00
|
|
|
buildPythonPackage rec {
|
2018-06-21 06:37:15 +01:00
|
|
|
version = "0.7.0";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "Automat";
|
2017-04-26 13:31:25 +01:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 06:37:15 +01:00
|
|
|
sha256 = "cbd78b83fa2d81fe2a4d23d258e1661dd7493c9a50ee2f1a5b2cac61c1793b0e";
|
2017-04-26 13:31:25 +01: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 = [ ];
|
|
|
|
};
|
|
|
|
}
|