summary refs log blame commit diff
path: root/pkgs/development/python-modules/aiostream/default.nix
blob: 0bdab3bb283385e1f121c775e909be8d105be647 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                        
                    





                               
                                                                    










                                                                         
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytestcov
, pytest-asyncio
}:

buildPythonPackage rec {
  pname = "aiostream";
  version = "0.4.3";
  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "vxgmichel";
    repo = pname;
    rev = "v${version}";
    sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13";
  };

  checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ];

  meta = with lib; {
    description = "Generator-based operators for asynchronous iteration";
    homepage = "https://aiostream.readthedocs.io";
    license = licenses.gpl3Only;
    maintainers = [ maintainers.rmcgibbo ];
  };
}