nixpkgs/pkgs/development/python-modules/nest-asyncio/default.nix

24 lines
540 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pythonAtLeast
}:
buildPythonPackage rec {
2019-10-24 06:47:39 +00:00
version = "1.2.0";
pname = "nest_asyncio";
disabled = !(pythonAtLeast "3.5");
src = fetchPypi {
inherit pname version;
2019-10-24 06:47:39 +00:00
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 ];
};
}