mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
37 lines
865 B
Nix
37 lines
865 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyncstdlib";
|
|
version = "3.13.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxfischer2781";
|
|
repo = "asyncstdlib";
|
|
tag = "v${version}";
|
|
hash = "sha256-U2/LPbg/U6CUB22EpsJHprK2ngjQmZhLtEEuszuzB8Q=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "asyncstdlib" ];
|
|
|
|
meta = with lib; {
|
|
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 licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|