2024-04-16 10:52:21 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flit-core,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2021-05-07 18:48:08 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asyncstdlib";
|
2025-03-12 22:15:41 +00:00
|
|
|
version = "3.13.1";
|
2024-01-06 08:49:33 +01:00
|
|
|
pyproject = true;
|
2021-05-07 18:48:08 +02:00
|
|
|
|
2024-01-06 08:49:33 +01:00
|
|
|
disabled = pythonOlder "3.9";
|
2022-03-28 20:46:45 +02:00
|
|
|
|
2021-05-07 18:48:08 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxfischer2781";
|
2024-01-06 08:49:33 +01:00
|
|
|
repo = "asyncstdlib";
|
2025-01-03 21:24:13 +01:00
|
|
|
tag = "v${version}";
|
2025-03-12 22:15:41 +00:00
|
|
|
hash = "sha256-U2/LPbg/U6CUB22EpsJHprK2ngjQmZhLtEEuszuzB8Q=";
|
2021-05-07 18:48:08 +02:00
|
|
|
};
|
|
|
|
|
2024-04-16 10:52:21 +02:00
|
|
|
build-system = [ flit-core ];
|
2023-09-10 00:03:40 +02:00
|
|
|
|
2024-04-16 10:52:21 +02:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-05-07 18:48:08 +02:00
|
|
|
|
2024-04-16 10:52:21 +02:00
|
|
|
pythonImportsCheck = [ "asyncstdlib" ];
|
2021-05-07 18:48:08 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library that extends the Python asyncio standard library";
|
|
|
|
homepage = "https://asyncstdlib.readthedocs.io/";
|
2025-03-12 22:15:41 +00:00
|
|
|
changelog = "https://github.com/maxfischer2781/asyncstdlib/releases/tag/${src.tag}";
|
2021-05-07 18:48:08 +02:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|