2017-04-26 13:31:25 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
m2r, setuptools_scm, six, attrs }:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 13:24:47 +01:00
|
|
|
version = "0.6.0";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "Automat";
|
|
|
|
name = "${pname}-${version}";
|
2017-04-26 13:31:25 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/A/Automat/${name}.tar.gz";
|
2017-05-27 13:24:47 +01:00
|
|
|
sha256 = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8";
|
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 = [ ];
|
|
|
|
};
|
|
|
|
}
|