about summary refs log tree commit diff
path: root/pkgs/development/python-modules/threadloop/default.nix
blob: 9b548f1a9127bce2c340e57bb3c78d0f1cdb5dd0 (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
27
28
29
30
{
  buildPythonPackage,
  fetchPypi,
  lib,
  tornado,
}:

buildPythonPackage rec {
  pname = "threadloop";
  version = "1.0.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8b180aac31013de13c2ad5c834819771992d350267bddb854613ae77ef571944";
  };

  propagatedBuildInputs = [ tornado ];

  doCheck = false; # ImportError: cannot import name 'ThreadLoop' from 'threadloop'

  pythonImportsCheck = [ "threadloop" ];

  meta = with lib; {
    description = "Library to run tornado coroutines from synchronous Python";
    homepage = "https://github.com/GoodPete/threadloop";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}