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