2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flit-core,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asyncstdlib";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "3.12.4";
|
2024-01-13 08:15:51 +00:00
|
|
|
pyproject = true;
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxfischer2781";
|
2024-01-13 08:15:51 +00:00
|
|
|
repo = "asyncstdlib";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-01 15:47:52 +00:00
|
|
|
hash = "sha256-5xbz56/s448PIOZ4DN6NFcYYWXaebaZA3ApGAIMZXH4=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ flit-core ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "asyncstdlib" ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library that extends the Python asyncio standard library";
|
|
|
|
homepage = "https://asyncstdlib.readthedocs.io/";
|
2023-03-27 19:17:25 +00:00
|
|
|
changelog = "https://github.com/maxfischer2781/asyncstdlib/releases/tag/v${version}";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|