mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-09 19:56:58 +01:00
> Note that asyncstdlib does not support Python 3.14 yet.[^1] [^1]: https://github.com/maxfischer2781/asyncstdlib/issues/188#issuecomment-3771752590
38 lines
929 B
Nix
38 lines
929 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
pythonAtLeast,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyncstdlib";
|
|
version = "3.13.1";
|
|
pyproject = true;
|
|
|
|
# https://github.com/maxfischer2781/asyncstdlib/issues/189
|
|
disabled = pythonAtLeast "3.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxfischer2781";
|
|
repo = "asyncstdlib";
|
|
tag = "v${version}";
|
|
hash = "sha256-U2/LPbg/U6CUB22EpsJHprK2ngjQmZhLtEEuszuzB8Q=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "asyncstdlib" ];
|
|
|
|
meta = {
|
|
description = "Python library that extends the Python asyncio standard library";
|
|
homepage = "https://asyncstdlib.readthedocs.io/";
|
|
changelog = "https://github.com/maxfischer2781/asyncstdlib/releases/tag/${src.tag}";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|