Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
863 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "nest-asyncio"; version = "1.6.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "erdewit"; repo = "nest_asyncio"; tag = "v${version}"; hash = "sha256-5I5WItOl1QpyI4OXZgZf8GiQ7Jlo+SJbDicIbernaU4="; };
nativeBuildInputs = [ setuptools setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nest_asyncio" ];
meta = with lib; { description = "Patch asyncio to allow nested event loops"; homepage = "https://github.com/erdewit/nest_asyncio"; changelog = "https://github.com/erdewit/nest_asyncio/releases/tag/v${version}"; license = licenses.bsdOriginal; maintainers = [ ]; };}