summary refs log tree commit diff
path: root/pkgs/development/python-modules/automat
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-04-26 14:31:25 +0200
committerLancelot SIX <lsix@lancelotsix.com>2017-05-02 09:25:35 +0200
commitb1d16c731f177b4b9d3bde044218fc64f2cee99b (patch)
tree028d9da4a0e453800a9931bc84e4995d3f707622 /pkgs/development/python-modules/automat
parent63fd2c7e622423aeb230b34155d48794d174f7cf (diff)
downloadnixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.tar
nixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.tar.gz
nixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.tar.bz2
nixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.tar.lz
nixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.tar.xz
nixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.tar.zst
nixlib-b1d16c731f177b4b9d3bde044218fc64f2cee99b.zip
pythonPackages.automat: init at 0.5.0
Diffstat (limited to 'pkgs/development/python-modules/automat')
-rw-r--r--pkgs/development/python-modules/automat/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/automat/default.nix b/pkgs/development/python-modules/automat/default.nix
new file mode 100644
index 000000000000..146f47bd9458
--- /dev/null
+++ b/pkgs/development/python-modules/automat/default.nix
@@ -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 = [ ];
+  };
+}