nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 928 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-asyncio, 6 pytest-cov-stub, 7 pytestCheckHook, 8 setuptools, 9 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "aiostream"; 14 version = "0.7.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "vxgmichel"; 19 repo = "aiostream"; 20 tag = "v${version}"; 21 hash = "sha256-AxisfmFZMEFJ/zfYCTfelvUGIoz56w6dKoZAMDKOZzk="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ typing-extensions ]; 27 28 nativeCheckInputs = [ 29 pytest-asyncio 30 pytest-cov-stub 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "aiostream" ]; 35 36 meta = { 37 description = "Generator-based operators for asynchronous iteration"; 38 homepage = "https://aiostream.readthedocs.io"; 39 changelog = "https://github.com/vxgmichel/aiostream/releases/tag/${src.tag}"; 40 license = lib.licenses.gpl3Only; 41 maintainers = with lib.maintainers; [ rmcgibbo ]; 42 }; 43}