1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, typing-extensions 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "asyncstdlib"; 11 version = "3.10.2"; 12 disabled = pythonOlder "3.7"; 13 format = "flit"; 14 15 src = fetchFromGitHub { 16 owner = "maxfischer2781"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "sha256-vjOhfEsAldTjROFUer1SgEX1KxnNM/WwtLsCB9ZV1WM="; 20 }; 21 22 propagatedBuildInputs = [ 23 typing-extensions 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "asyncstdlib" ]; 31 32 meta = with lib; { 33 description = "Python library that extends the Python asyncio standard library"; 34 homepage = "https://asyncstdlib.readthedocs.io/"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}