pythonPackages.automat: init at 0.5.0

This commit is contained in:
Lancelot SIX
2017-04-26 14:31:25 +02:00
parent 63fd2c7e62
commit b1d16c731f
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchurl,
m2r, setuptools_scm, six, attrs }:
buildPythonPackage rec {
name = "Automat-${version}";
version = "0.5.0";
src = fetchurl {
url = "mirror://pypi/A/Automat/${name}.tar.gz";
sha256 = "1hnpknkqnc2m900kkzrzx9l6g5dy5dassrdj9pn34x1pcdkyr2a8";
};
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 = [ ];
};
}