Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, async-timeout, buildPythonPackage, certifi, faker, fetchFromGitHub, googleapis-common-protos, h2, multidict, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "grpclib"; version = "0.4.7"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "vmagamedov"; repo = "grpclib"; tag = "v${version}"; hash = "sha256-5221hVjD0TynCsTdruiUZkTsb7uOi49tZ8M/YqdWreE="; };
build-system = [ setuptools ];
dependencies = [ h2 multidict ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio async-timeout faker googleapis-common-protos certifi ];
pythonImportsCheck = [ "grpclib" ];
meta = with lib; { description = "Pure-Python gRPC implementation for asyncio"; homepage = "https://github.com/vmagamedov/grpclib"; changelog = "https://github.com/vmagamedov/grpclib/blob/v${version}/docs/changelog/index.rst"; license = licenses.bsd3; maintainers = with maintainers; [ nikstur ]; };}