Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / nest-asyncio / default.nix
blob3daac2f31d161927f7324755898c262cc1732c9c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 , setuptools-scm
8 }:
10 buildPythonPackage rec {
11   pname = "nest-asyncio";
12   version = "1.6.0";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "erdewit";
19     repo = "nest_asyncio";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-5I5WItOl1QpyI4OXZgZf8GiQ7Jlo+SJbDicIbernaU4=";
22   };
24   nativeBuildInputs = [
25     setuptools
26     setuptools-scm
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "nest_asyncio"
35   ];
37   meta = with lib; {
38     description = "Patch asyncio to allow nested event loops";
39     homepage = "https://github.com/erdewit/nest_asyncio";
40     changelog = "https://github.com/erdewit/nest_asyncio/releases/tag/v${version}";
41     license = licenses.bsdOriginal;
42     maintainers = with maintainers; [ ];
43   };