f91289a787
Diff: https://github.com/maxfischer2781/asyncstdlib/compare/refs/tags/v3.12.0...v3.12.1 Changelog: https://github.com/maxfischer2781/asyncstdlib/releases/tag/v3.12.1
42 lines
891 B
Nix
42 lines
891 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, flit-core
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyncstdlib";
|
|
version = "3.12.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxfischer2781";
|
|
repo = "asyncstdlib";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-F7jS2EHiq+gK4a6+wJ8CA2YvwR37PP3yvbsLp3uE8R8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|