python3Packages.threadloop: init 1.0.2
This commit is contained in:
parent
967d7610a0
commit
f5a5a3e95c
30
pkgs/development/python-modules/threadloop/default.nix
Normal file
30
pkgs/development/python-modules/threadloop/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ 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; [ superherointj ];
|
||||
};
|
||||
}
|
@ -9122,6 +9122,8 @@ in {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate CoreFoundation CoreGraphics CoreVideo;
|
||||
};
|
||||
|
||||
threadloop = callPackage ../development/python-modules/threadloop { };
|
||||
|
||||
threadpool = callPackage ../development/python-modules/threadpool { };
|
||||
|
||||
threadpoolctl = callPackage ../development/python-modules/threadpoolctl { };
|
||||
|
Loading…
Reference in New Issue
Block a user