e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
42 lines
891 B
Nix
42 lines
891 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, flit-core
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyncstdlib";
|
|
version = "3.12.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxfischer2781";
|
|
repo = "asyncstdlib";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-ZINCpUtwXZxGTMolfyZh5cBFZV0h7ODhsRcmkRzBTEI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|