blob: 0c33a85a3065083fe0cc394fe2ad96796c4bc75e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "txaio";
version = "25.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "crossbario";
repo = "txaio";
tag = "v${lib.replaceString "." "_" finalAttrs.version}";
hash = "sha256-/vlkjSOlQYbRpjMySBzoSBSXm0yxWSHmzIF3ZfFIR64=";
};
build-system = [
hatchling
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "txaio" ];
meta = {
description = "Utilities to support code that runs unmodified on Twisted and asyncio";
homepage = "https://github.com/crossbario/txaio";
changelog = "https://github.com/crossbario/txaio/blob/${finalAttrs.src.tag}/docs/releases.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|