python3Packages.asyncstdlib: init at 3.9.1

This commit is contained in:
Fabian Affolter 2021-05-07 18:48:08 +02:00
parent 75e9b83b38
commit a79ddca1b5
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, typing-extensions
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "asyncstdlib";
version = "3.9.1";
disabled = pythonOlder "3.7";
format = "flit";
src = fetchFromGitHub {
owner = "maxfischer2781";
repo = pname;
rev = "v${version}";
sha256 = "13ranr7zi61w52vfrxwkf32bbhk88j0r5c5z2x2h5vw268001lk2";
};
propagatedBuildInputs = [
typing-extensions
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "asyncstdlib" ];
meta = with lib; {
description = "Python library that extends the Python asyncio standard library";
homepage = "https://asyncstdlib.readthedocs.io/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -557,6 +557,8 @@ in {
asyncssh = callPackage ../development/python-modules/asyncssh { };
asyncstdlib = callPackage ../development/python-modules/asyncstdlib { };
async_stagger = callPackage ../development/python-modules/async_stagger { };
asynctest = callPackage ../development/python-modules/asynctest { };