blob: 15abcf542c441336828e19e2054de3b88d0f5424 (
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
39
40
41
42
43
44
|
{
buildPythonPackage,
cython,
fetchFromGitHub,
lib,
libyaml,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyyaml-ft";
version = "8.0.0";
pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub {
owner = "Quansight-Labs";
repo = "pyyaml-ft";
tag = "v${version}";
hash = "sha256-GiXYpcAccKgROw144eOPY0gS0xW+3K/jRUl+JnBEaO8=";
};
build-system = [
cython
setuptools
];
buildInputs = [ libyaml ];
pythonImportsCheck = [ "yaml_ft" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/Quansight-Labs/pyyaml-ft/blob/${src.tag}/CHANGES";
description = "YAML parser and emitter for Python with support for free-threading";
homepage = "https://github.com/Quansight-Labs/pyyaml-ft";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|