mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
24 lines
540 B
Nix
24 lines
540 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonAtLeast
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.2.0";
|
|
pname = "nest_asyncio";
|
|
disabled = !(pythonAtLeast "3.5");
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f5b22dd23ee6195cea509c344d9ec34274f45bff078d8f18e9dc322dc74c6008";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/erdewit/nest_asyncio;
|
|
description = "Patch asyncio to allow nested event loops";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|