My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/threadloop/default.nix

30 lines
666 B

{ buildPythonPackage
, fetchPypi
, lib
, tornado
}:
buildPythonPackage rec {
pname = "threadloop";
version = "1.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "8b180aac31013de13c2ad5c834819771992d350267bddb854613ae77ef571944";
};
propagatedBuildInputs = [
tornado
];
doCheck = false; # ImportError: cannot import name 'ThreadLoop' from 'threadloop'
pythonImportsCheck = [ "threadloop" ];
meta = with lib; {
description = "A library to run tornado coroutines from synchronous Python";
homepage = "https://github.com/GoodPete/threadloop";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}