depot/third_party/nixpkgs/pkgs/development/python-modules/asyncstdlib/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

37 lines
876 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "asyncstdlib";
version = "3.12.5";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "maxfischer2781";
repo = "asyncstdlib";
rev = "refs/tags/v${version}";
hash = "sha256-RQoq+Okzan4/Q51mlL1EPyZuBSr3+xGWEPSAnZYJGyA=";
};
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/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}