about summary refs log tree commit diff
path: root/pkgs/development/python-modules/automat/default.nix
blob: e4f3e061dd4e3ded1e7bb927e7778b3bff058d1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildPythonPackage, fetchurl,
  m2r, setuptools_scm, six, attrs }:
buildPythonPackage rec {
  version = "0.6.0";
  pname = "Automat";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "mirror://pypi/A/Automat/${name}.tar.gz";
    sha256 = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8";
  };

  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 = [ ];
  };
}